Add prisma db push to Render build command

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
EENE Dashboard
2026-06-01 08:51:49 +09:00
parent 22366dde72
commit aa03542916

View File

@@ -3,7 +3,7 @@ services:
name: eene-dashboard-backend
runtime: node
rootDir: backend
buildCommand: npm install && npm run build && npx prisma generate
buildCommand: npm install && npm run build && npx prisma generate && npx prisma db push
startCommand: npm start
envVars:
- key: DATABASE_URL