From 8d747bc59aa5f27cb438d0d21d0d898b497f1940 Mon Sep 17 00:00:00 2001 From: LunaUrsa <1836049+LunaUrsa@users.noreply.github.com> Date: Sat, 17 Feb 2024 10:36:14 -0600 Subject: [PATCH] Update migration file --- .../tripbot/migrations/20240217152141_quotes/migration.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/prisma/tripbot/migrations/20240217152141_quotes/migration.sql b/src/prisma/tripbot/migrations/20240217152141_quotes/migration.sql index 4ed885195..0be30e712 100644 --- a/src/prisma/tripbot/migrations/20240217152141_quotes/migration.sql +++ b/src/prisma/tripbot/migrations/20240217152141_quotes/migration.sql @@ -16,6 +16,9 @@ ALTER TYPE "ai_model_new" RENAME TO "ai_model"; DROP TYPE "ai_model_old"; COMMIT; +-- Drop the unique constraint +ALTER TABLE ai_channels DROP CONSTRAINT aichannels_channelid_personaid_unique; + -- DropIndex DROP INDEX "aichannels_channelid_personaid_unique";