Added $MIGRATE_DATABASE_URL per documentation

@see: https://www.prisma.io/docs/concepts/data-platform/data-proxy#providing-the-connection-string-to-prisma-migrate
hotfix/add-dataProxy-to-previewFeatures
Alex van Andel 2022-05-01 13:55:08 +01:00 committed by GitHub
parent 4bb475019c
commit 768703be79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"