summaryrefslogtreecommitdiff
path: root/migrations/2024-12-13T21-55-38_github_support
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-02 03:35:19 +0500
committerilotterytea <iltsu@alright.party>2025-07-02 03:35:39 +0500
commit6c002985fddc923f57774c0ca5e7ddd36c629fdc (patch)
tree0d8aa51974744a10612769f2c688f20344b2b021 /migrations/2024-12-13T21-55-38_github_support
parent04fb4e18f8cddd3d963824c6d396b960c7164dc5 (diff)
feat: new migrations
Diffstat (limited to 'migrations/2024-12-13T21-55-38_github_support')
-rw-r--r--migrations/2024-12-13T21-55-38_github_support/down.sql6
-rw-r--r--migrations/2024-12-13T21-55-38_github_support/up.sql6
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