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:
EENE Dashboard
2026-06-05 22:12:00 +09:00
parent 6066b5682d
commit 1ba312fb42
2 changed files with 27 additions and 1 deletions

View File

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