Remove migrations to try and fix CI

This commit is contained in:
Jackson Harper
2023-01-11 10:44:00 +08:00
parent 706c4dea18
commit 2ad517ba69
2 changed files with 0 additions and 27 deletions

View File

@ -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;

View File

@ -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;