Skip to content

Commit 47af4d7

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 06ff156 commit 47af4d7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

dbscripts/postgresql_process_tracker.sql

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ create unique index location_lkup_udx01
283283
create unique index location_lkup_udx02
284284
on location_lkup (location_path);
285285

286-
create table process_tracking.extract_tracking
286+
create table extract_tracking
287287
(
288288
extract_id serial not null
289289
constraint extract_tracking_pk
@@ -307,31 +307,31 @@ create table process_tracking.extract_tracking
307307
extract_load_record_count integer
308308
);
309309

310-
comment on table process_tracking.extract_tracking is 'Tracking table for all extract/staging data files.';
310+
comment on table extract_tracking is 'Tracking table for all extract/staging data files.';
311311

312-
comment on column process_tracking.extract_tracking.extract_filename is 'The unique filename for a given extract from a given source.';
312+
comment on column extract_tracking.extract_filename is 'The unique filename for a given extract from a given source.';
313313

314-
comment on column process_tracking.extract_tracking.extract_location_id is 'The location where the given extract can be found.';
314+
comment on column extract_tracking.extract_location_id is 'The location where the given extract can be found.';
315315

316-
comment on column process_tracking.extract_tracking.extract_process_run_id is 'The process that registered or created the extract file.';
316+
comment on column extract_tracking.extract_process_run_id is 'The process that registered or created the extract file.';
317317

318-
comment on column process_tracking.extract_tracking.extract_status_id is 'The status of the extract.';
318+
comment on column extract_tracking.extract_status_id is 'The status of the extract.';
319319

320-
comment on column process_tracking.extract_tracking.extract_registration_date_time is 'The datetime that the extract was loaded into extract tracking.';
320+
comment on column extract_tracking.extract_registration_date_time is 'The datetime that the extract was loaded into extract tracking.';
321321

322-
comment on column process_tracking.extract_tracking.extract_write_low_date_time is 'The lowest datetime of the data set as noted when writing the data file.';
322+
comment on column extract_tracking.extract_write_low_date_time is 'The lowest datetime of the data set as noted when writing the data file.';
323323

324-
comment on column process_tracking.extract_tracking.extract_write_high_date_time is 'The highest datetime of the data set as noted when writing the data file.';
324+
comment on column extract_tracking.extract_write_high_date_time is 'The highest datetime of the data set as noted when writing the data file.';
325325

326-
comment on column process_tracking.extract_tracking.extract_write_record_count is 'The record count of the data set as noted when writing the data file.';
326+
comment on column extract_tracking.extract_write_record_count is 'The record count of the data set as noted when writing the data file.';
327327

328-
comment on column process_tracking.extract_tracking.extract_load_low_date_time is 'The lowest datetime of the data set as noted when loading the data file. Should match the extract_write_low_date_time.';
328+
comment on column extract_tracking.extract_load_low_date_time is 'The lowest datetime of the data set as noted when loading the data file. Should match the extract_write_low_date_time.';
329329

330-
comment on column process_tracking.extract_tracking.extract_load_high_date_time is 'The highest datetime of the data set as noted when loading the data file.';
330+
comment on column extract_tracking.extract_load_high_date_time is 'The highest datetime of the data set as noted when loading the data file.';
331331

332-
comment on column process_tracking.extract_tracking.extract_load_record_count is 'The record count of the data set when loading the data file.';
332+
comment on column extract_tracking.extract_load_record_count is 'The record count of the data set when loading the data file.';
333333

334-
alter table process_tracking.extract_tracking owner to pt_admin;
334+
alter table extract_tracking owner to pt_admin;
335335

336336

337337

0 commit comments

Comments
 (0)