ci: 💚 Use MIGRATION_DATABASE_URL
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "dotenv -e ../../apps/builder/.env.local yarn prisma db push && yarn start:sutdio ",
|
"dev": "dotenv -e ../../apps/builder/.env.local yarn prisma db push && yarn start:sutdio ",
|
||||||
"start:sutdio": "dotenv -e ../../apps/builder/.env.local -v BROWSER=none yarn prisma studio",
|
"start:sutdio": "dotenv -e ../../apps/builder/.env.local -v BROWSER=none yarn prisma studio",
|
||||||
"build": "yarn migration:deploy",
|
"build": "DATABASE_URL=$MIGRATION_DATABASE_URL yarn migration:deploy",
|
||||||
"migration:push": "dotenv -e ../../apps/builder/.env.local yarn prisma db push",
|
"migration:push": "dotenv -e ../../apps/builder/.env.local yarn prisma db push",
|
||||||
"migration:create": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate dev",
|
"migration:create": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate dev",
|
||||||
"migration:reset": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate reset",
|
"migration:reset": "dotenv -e ../../apps/builder/.env.local yarn prisma migrate reset",
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "Answer" ADD COLUMN "variableId" TEXT;
|
||||||
|
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "Result" ADD COLUMN "prefilledVariables" JSONB[];
|
||||||
Reference in New Issue
Block a user