fix: add --accept-data-loss flag to prisma db push in start script
All checks were successful
Build and Push App / build (push) Successful in 7m45s

This commit is contained in:
2026-04-26 23:33:23 +02:00
parent 792a951e02
commit b89dc62408

View File

@@ -12,7 +12,7 @@
"all": "concurrently \"npm run dev\" \"npm run dev:admin\"", "all": "concurrently \"npm run dev\" \"npm run dev:admin\"",
"build": "prisma generate && next build && npm run build:admin", "build": "prisma generate && next build && npm run build:admin",
"build:admin": "npm install --prefix admin && npm run build --prefix admin", "build:admin": "npm install --prefix admin && npm run build --prefix admin",
"start": "npx prisma db push && next start", "start": "npx prisma db push --accept-data-loss && next start",
"start:admin": "npm run start --prefix admin", "start:admin": "npm run start --prefix admin",
"lint": "next lint", "lint": "next lint",
"lint:admin": "npm run lint --prefix admin" "lint:admin": "npm run lint --prefix admin"
@@ -56,4 +56,4 @@
"postcss": "^8.5.10", "postcss": "^8.5.10",
"@hono/node-server": "^1.19.13" "@hono/node-server": "^1.19.13"
} }
} }