Add migration to build step

This commit is contained in:
KMKoushik
2024-04-21 21:18:10 +10:00
parent e7a0376519
commit 453daaec58

View File

@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "next dev -p 3000",
"build": "next build",
"build": "pnpm db:migrate-deploy && next build",
"start": "next start",
"lint": "eslint . --max-warnings 0",
"db:post-install": "prisma generate",