From 768703be79da86b5592d284665b70da7bf57750a Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Sun, 1 May 2022 13:55:08 +0100 Subject: [PATCH] Added $MIGRATE_DATABASE_URL per documentation @see: https://www.prisma.io/docs/concepts/data-platform/data-proxy#providing-the-connection-string-to-prisma-migrate --- packages/prisma/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/prisma/package.json b/packages/prisma/package.json index 7bbc4994ff..a222874675 100644 --- a/packages/prisma/package.json +++ b/packages/prisma/package.json @@ -13,7 +13,7 @@ "db-setup": "run-s db-up db-deploy db-seed", "db-studio": "yarn prisma studio", "db-up": "docker-compose up -d", - "deploy": "yarn prisma migrate deploy", + "deploy": "DATABASE_URL=\"$MIGRATE_DATABASE_URL\" yarn prisma migrate deploy", "dx": "yarn db-setup", "generate-schemas": "prisma generate && prisma format", "postinstall": "yarn generate-schemas"