@@ -808,4 +808,61 @@ create table process_tracker.process_filter
808808alter table process_tracker .process_filter owner to pt_admin;
809809
810810create unique index process_filter_udx01
811- on process_tracker .process_filter (process_id, source_object_attribute_id, filter_type_id);
811+ on process_tracker .process_filter (process_id, source_object_attribute_id, filter_type_id);
812+
813+ create table process_tracker .extract_source
814+ (
815+ extract_id integer not null
816+ constraint extract_source_fk02
817+ references process_tracker .extract_tracking ,
818+ source_id integer not null
819+ constraint extract_source_fk01
820+ references process_tracker .source_lkup ,
821+ constraint extract_source_pk
822+ primary key (extract_id, source_id)
823+ );
824+
825+ alter table process_tracker .extract_source owner to pt_admin;
826+
827+ create table process_tracker .extract_source_object
828+ (
829+ extract_id integer not null
830+ constraint extract_source_object_fk01
831+ references process_tracker .extract_tracking ,
832+ source_object_id integer not null
833+ constraint extract_source_object_fk02
834+ references process_tracker .source_object_lkup ,
835+ constraint extract_source_object_pk
836+ primary key (extract_id, source_object_id)
837+ );
838+
839+ alter table process_tracker .extract_source_object owner to pt_admin;
840+
841+ create table process_tracker .source_object_location
842+ (
843+ source_object_id integer not null
844+ constraint source_object_location_fk01
845+ references process_tracker .source_object_lkup ,
846+ location_id integer not null
847+ constraint source_object_location_fk02
848+ references process_tracker .location_lkup ,
849+ constraint source_object_location_pk
850+ primary key (source_object_id, location_id)
851+ );
852+
853+ alter table process_tracker .source_object_location owner to pt_admin;
854+
855+ create table process_tracker .source_location
856+ (
857+ source_id integer not null
858+ constraint source_location_fk01
859+ references process_tracker .source_lkup ,
860+ location_id integer not null
861+ constraint source_location_fk02
862+ references process_tracker .location_lkup ,
863+ constraint source_location_pk
864+ primary key (source_id, location_id)
865+ );
866+
867+ alter table process_tracker .source_location owner to pt_admin;
868+
0 commit comments