diff options
Diffstat (limited to 'lib/sql/migration/007-patch-pull-requests.sql')
-rw-r--r-- | lib/sql/migration/007-patch-pull-requests.sql | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/sql/migration/007-patch-pull-requests.sql b/lib/sql/migration/007-patch-pull-requests.sql deleted file mode 100644 index 9155133..0000000 --- a/lib/sql/migration/007-patch-pull-requests.sql +++ /dev/null @@ -1,6 +0,0 @@ -BEGIN; -ALTER TABLE patchwork_patch ADD column pull_url varchar(255); -ALTER TABLE patchwork_patch ALTER COLUMN content DROP NOT NULL; -ALTER TABLE patchwork_patch ADD CONSTRAINT has_content_or_url - CHECK (pull_url IS NOT NULL OR content IS NOT NULL); -COMMIT; |