From 6e652d6ea25819fdfe22e398a6b0c61c07db0360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ca=C3=ADque=20Zanetoni=20Fim?= <50633626+caiquezanetoni@users.noreply.github.com> Date: Mon, 18 Aug 2025 08:43:21 -0300 Subject: [PATCH] Update migration.sql --- .../migration.sql | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/prisma/postgresql-migrations/20250116001415_add_wavoip_token_to_settings_table/migration.sql b/prisma/postgresql-migrations/20250116001415_add_wavoip_token_to_settings_table/migration.sql index 26898a08..00f9bc7d 100644 --- a/prisma/postgresql-migrations/20250116001415_add_wavoip_token_to_settings_table/migration.sql +++ b/prisma/postgresql-migrations/20250116001415_add_wavoip_token_to_settings_table/migration.sql @@ -6,14 +6,4 @@ Warnings: */ -- AlterTable -DO $$ -BEGIN - IF NOT EXISTS ( - SELECT 1 - FROM information_schema.columns - WHERE table_name = 'Setting' - AND column_name = 'wavoipToken' - ) THEN - ALTER TABLE "Setting" ADD COLUMN "wavoipToken" VARCHAR(100); - END IF; -END $$; \ No newline at end of file +ALTER TABLE "Setting" ADD COLUMN IF NOT EXISTS "wavoipToken" VARCHAR(100);