mirror of
https://github.com/documenso/documenso.git
synced 2026-09-29 16:24:30 +10:00
fix: remove the direct url fallback from the migrate script
The fallback uses POSIX shell syntax, but npm on Windows runs scripts in cmd.exe. docker/start.sh keeps the fallback for Docker, and the manual guide sets the two variables.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"post-install": "prisma generate",
|
||||
"prisma:generate": "prisma generate",
|
||||
"prisma:migrate-dev": "prisma migrate dev --skip-seed",
|
||||
"prisma:migrate-deploy": "NEXT_PRIVATE_DIRECT_DATABASE_URL=\"${NEXT_PRIVATE_DIRECT_DATABASE_URL:-$NEXT_PRIVATE_DATABASE_URL}\" prisma migrate deploy",
|
||||
"prisma:migrate-deploy": "prisma migrate deploy",
|
||||
"prisma:migrate-reset": "prisma migrate reset",
|
||||
"prisma:seed": "prisma db seed",
|
||||
"prisma:studio": "prisma studio"
|
||||
|
||||
Reference in New Issue
Block a user