Skip to content

Commit adff95c

Browse files
committed
process_tracker_python-17 Audit Info for Extracts
🐛 Issue with extract_tracking table in postgresql script Travis CI failed - trying to fix.
1 parent 47af4d7 commit adff95c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

dbscripts/postgresql_process_tracker.sql

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
SET search_path TO process_tracker;
22

3-
create schema process_tracker;
3+
create schema process_tracking;
44

5-
alter schema process_tracker owner to pt_admin;
5+
alter schema process_tracking owner to pt_admin;
66

77
create table error_type_lkup
88
(
@@ -291,13 +291,13 @@ create table extract_tracking
291291
extract_filename varchar(750) not null,
292292
extract_location_id integer not null
293293
constraint extract_tracking_fk01
294-
references process_tracking.location_lkup,
294+
references location_lkup,
295295
extract_process_run_id integer
296296
constraint extract_tracking_fk03
297-
references process_tracking.process_tracking,
297+
references process_tracking,
298298
extract_status_id integer
299299
constraint extract_tracking_fk02
300-
references process_tracking.extract_status_lkup,
300+
references extract_status_lkup,
301301
extract_registration_date_time timestamp not null,
302302
extract_write_low_date_time timestamp,
303303
extract_write_high_date_time timestamp,
@@ -333,8 +333,6 @@ comment on column extract_tracking.extract_load_record_count is 'The record coun
333333

334334
alter table extract_tracking owner to pt_admin;
335335

336-
337-
338336
create table extract_process_tracking
339337
(
340338
extract_tracking_id integer not null

0 commit comments

Comments
 (0)