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.
2 parents 3bda286 + ba0f148 commit 66c2267Copy full SHA for 66c2267
1 file changed
packages/db/prisma/migrations/20250627180828_rename_completed_col/migration.sql
@@ -6,7 +6,7 @@
6
*/
7
-- AlterTable
8
ALTER TABLE "Onboarding"
9
-ADD COLUMN "triggerJobCompleted" BOOLEAN NOT NULL DEFAULT false;
+ADD COLUMN IF NOT EXISTS "triggerJobCompleted" BOOLEAN NOT NULL DEFAULT false;
10
11
-- Copy existing values from completed to triggerJobCompleted
12
UPDATE "Onboarding" SET "triggerJobCompleted" = "completed";
0 commit comments