Skip to content

Commit

Permalink
add prisma migrate to build command
Browse files Browse the repository at this point in the history
  • Loading branch information
d-ivashchuk committed Mar 28, 2024
1 parent 5b41bbf commit 9b6ec7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"build": "next build",
"build": "prisma migrate && next build",
"db:push": "prisma db push",
"db:studio": "prisma studio",
"dev": "next dev",
Expand Down

0 comments on commit 9b6ec7f

Please sign in to comment.