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
All checks were successful
Build and Push App / build (push) Successful in 7m45s
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"all": "concurrently \"npm run dev\" \"npm run dev:admin\"",
|
||||
"build": "prisma generate && next build && npm run build: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",
|
||||
"lint": "next lint",
|
||||
"lint:admin": "npm run lint --prefix admin"
|
||||
|
||||
Reference in New Issue
Block a user