migrate before build
This commit is contained in:
parent
b8ea1dc765
commit
218d3120f8
|
@ -1,5 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo primsa migrate
|
||||
npm run migrate
|
||||
|
||||
echo build with npm
|
||||
npm run build
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"migrate": "prisma migrate deploy",
|
||||
"start": "next start -p $PORT"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in New Issue