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