We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cdb897 commit 6e652d6Copy full SHA for 6e652d6
prisma/postgresql-migrations/20250116001415_add_wavoip_token_to_settings_table/migration.sql
@@ -6,14 +6,4 @@ Warnings:
6
*/
7
8
-- AlterTable
9
-DO $$
10
-BEGIN
11
- IF NOT EXISTS (
12
- SELECT 1
13
- FROM information_schema.columns
14
- WHERE table_name = 'Setting'
15
- AND column_name = 'wavoipToken'
16
- ) THEN
17
- ALTER TABLE "Setting" ADD COLUMN "wavoipToken" VARCHAR(100);
18
- END IF;
19
-END $$;
+ALTER TABLE "Setting" ADD COLUMN IF NOT EXISTS "wavoipToken" VARCHAR(100);
0 commit comments