Added $MIGRATE_DATABASE_URL per documentation
@see: https://www.prisma.io/docs/concepts/data-platform/data-proxy#providing-the-connection-string-to-prisma-migratehotfix/add-dataProxy-to-previewFeatures
parent
4bb475019c
commit
768703be79
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue