diff options
Diffstat (limited to 'migrations/2024-12-13T21-55-38_github_support')
| -rw-r--r-- | migrations/2024-12-13T21-55-38_github_support/down.sql | 6 | ||||
| -rw-r--r-- | migrations/2024-12-13T21-55-38_github_support/up.sql | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/migrations/2024-12-13T21-55-38_github_support/down.sql b/migrations/2024-12-13T21-55-38_github_support/down.sql deleted file mode 100644 index dd5c51e..0000000 --- a/migrations/2024-12-13T21-55-38_github_support/down.sql +++ /dev/null @@ -1,6 +0,0 @@ --- Your SQL goes here -ALTER TABLE "events" DROP CONSTRAINT check_event_type; -ALTER TABLE "events" ADD CONSTRAINT check_event_type CHECK ( - ("target_alias_id" IS NOT NULL AND "event_type" < 99) - OR ("custom_alias_id" IS NOT NULL AND "event_type" >= 99) -);
\ No newline at end of file diff --git a/migrations/2024-12-13T21-55-38_github_support/up.sql b/migrations/2024-12-13T21-55-38_github_support/up.sql deleted file mode 100644 index 666d774..0000000 --- a/migrations/2024-12-13T21-55-38_github_support/up.sql +++ /dev/null @@ -1,6 +0,0 @@ --- Your SQL goes here -ALTER TABLE "events" DROP CONSTRAINT check_event_type; -ALTER TABLE "events" ADD CONSTRAINT check_event_type CHECK ( - ("target_alias_id" IS NOT NULL AND "event_type" < 10) - OR ("custom_alias_id" IS NOT NULL AND "event_type" >= 10) -);
\ No newline at end of file |
