diff --git a/tests/fixtures/kingfisher-process.sql b/tests/fixtures/kingfisher-process.sql index 00a352f..0d782ca 100644 --- a/tests/fixtures/kingfisher-process.sql +++ b/tests/fixtures/kingfisher-process.sql @@ -66,7 +66,7 @@ ALTER SEQUENCE public.collection_id_seq OWNED BY public.collection.id; CREATE TABLE public.compiled_release ( id integer NOT NULL, - collection_file_item_id integer NOT NULL, + collection_file_id integer NOT NULL, ocid text NOT NULL, data_id integer NOT NULL, collection_id integer NOT NULL @@ -155,7 +155,7 @@ ALTER SEQUENCE public.package_data_id_seq OWNED BY public.package_data.id; CREATE TABLE public.record ( id integer NOT NULL, - collection_file_item_id integer NOT NULL, + collection_file_id integer NOT NULL, ocid text NOT NULL, data_id integer NOT NULL, package_data_id integer NOT NULL, @@ -216,7 +216,7 @@ ALTER SEQUENCE public.record_id_seq OWNED BY public.record.id; CREATE TABLE public.release ( id integer NOT NULL, - collection_file_item_id integer NOT NULL, + collection_file_id integer NOT NULL, release_id text NOT NULL, ocid text NOT NULL, data_id integer NOT NULL, @@ -343,7 +343,7 @@ COPY public.collection (id, source_id, data_version, store_start_at, store_end_a -- Data for Name: compiled_release; Type: TABLE DATA; Schema: public -- -COPY public.compiled_release (id, collection_file_item_id, ocid, data_id, collection_id) FROM stdin; +COPY public.compiled_release (id, collection_file_id, ocid, data_id, collection_id) FROM stdin; 1 3 Exc 101 3 2 3 Excepteur culpa amet 102 3 3 3 Excepteur irure exercitation 103 3 @@ -664,7 +664,7 @@ COPY public.package_data (id, hash_md5, data) FROM stdin; -- Data for Name: record; Type: TABLE DATA; Schema: public -- -COPY public.record (id, collection_file_item_id, ocid, data_id, package_data_id, collection_id) FROM stdin; +COPY public.record (id, collection_file_id, ocid, data_id, package_data_id, collection_id) FROM stdin; \. @@ -680,7 +680,7 @@ COPY public.record_check (id, record_id, cove_output) FROM stdin; -- Data for Name: release; Type: TABLE DATA; Schema: public -- -COPY public.release (id, collection_file_item_id, release_id, ocid, data_id, package_data_id, collection_id) FROM stdin; +COPY public.release (id, collection_file_id, release_id, ocid, data_id, package_data_id, collection_id) FROM stdin; 1 1 ex laborumsit autein magna veniam dolore 1 1 1 2 1 laborum irure consectetur fugiat officia dolore non 2 1 1 3 1 deserunt irureelit deserunt aliqua cillum dolor velit consectetur ut minim 3 1 1 @@ -1035,13 +1035,6 @@ ALTER TABLE ONLY public.package_data CREATE INDEX collection_transform_from_collection_id_idx ON public.collection USING btree (transform_from_collection_id); --- --- Name: compiled_release_collection_file_item_id_idx; Type: INDEX; Schema: public --- - -CREATE INDEX compiled_release_collection_file_item_id_idx ON public.compiled_release USING btree (collection_file_item_id); - - -- -- Name: compiled_release_collection_id_idx; Type: INDEX; Schema: public -- @@ -1071,12 +1064,6 @@ CREATE INDEX record_check_record_id_idx ON public.record_check USING btree (reco -- --- Name: record_collection_file_item_id_idx; Type: INDEX; Schema: public --- - -CREATE INDEX record_collection_file_item_id_idx ON public.record USING btree (collection_file_item_id); - - -- -- Name: record_collection_id_idx; Type: INDEX; Schema: public -- @@ -1112,13 +1099,6 @@ CREATE INDEX record_package_data_id_idx ON public.record USING btree (package_da CREATE INDEX release_check_release_id_idx ON public.release_check USING btree (release_id); --- --- Name: release_collection_file_item_id_idx; Type: INDEX; Schema: public --- - -CREATE INDEX release_collection_file_item_id_idx ON public.release USING btree (collection_file_item_id); - - -- -- Name: release_collection_id_idx; Type: INDEX; Schema: public --