diff --git a/package.json b/package.json index bc7807c..7566f30 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev --turbopack", - "build": "next build", + "build": "npx prisma migrate deploy && npx prisma generate && npx prisma db push && next build", "start": "next start", "lint": "next lint", "studio": "npx prisma studio", @@ -68,4 +68,4 @@ "typescript": "^5.7.2" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" -} +} \ No newline at end of file