From 6c002985fddc923f57774c0ca5e7ddd36c629fdc Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Wed, 2 Jul 2025 03:35:19 +0500 Subject: feat: new migrations --- migrations/2024-12-13T21-55-38_github_support/up.sql | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 migrations/2024-12-13T21-55-38_github_support/up.sql (limited to 'migrations/2024-12-13T21-55-38_github_support/up.sql') 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 -- cgit v1.2.3