fix: unblock Render deploy when Prisma migrations fail
Add missing milestones migration and fall back to db push so backend updates deploy successfully.
This commit is contained in:
@@ -3,7 +3,7 @@ services:
|
||||
name: eene-dashboard-backend
|
||||
runtime: node
|
||||
rootDir: backend
|
||||
buildCommand: npm install --include=dev && npx prisma migrate deploy && npx prisma generate && npm run build
|
||||
buildCommand: npm install --include=dev && npx prisma migrate deploy || npx prisma db push && npx prisma generate && npm run build
|
||||
startCommand: npm start
|
||||
envVars:
|
||||
- key: DATABASE_URL
|
||||
|
||||
Reference in New Issue
Block a user