Remove migrations to try and fix CI
This commit is contained in:
@ -1,13 +0,0 @@
|
||||
-- Type: DO
|
||||
-- Name: remove_content_report_constraints
|
||||
-- Description: Remove unneeded constraints from the content_report table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.content_display_report
|
||||
DROP CONSTRAINT content_display_report_page_id_fkey;
|
||||
|
||||
ALTER TABLE omnivore.content_display_report
|
||||
DROP CONSTRAINT content_display_report_user_id_fkey;
|
||||
|
||||
COMMIT;
|
||||
@ -1,14 +0,0 @@
|
||||
-- Type: UNDO
|
||||
-- Name: remove_content_report_constraints
|
||||
-- Description: Remove unneeded constraints from the content_report table
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE omnivore.content_display_report
|
||||
ADD CONSTRAINT content_display_report_user_id_fkey FOREIGN KEY (user_id) REFERENCES omnivore."user"(id);
|
||||
|
||||
ALTER TABLE omnivore.content_display_report
|
||||
ADD CONSTRAINT content_display_report_page_id_fkey FOREIGN KEY (page_id) REFERENCES omnivore.pages(id);
|
||||
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user