feat(package): migrate db when built
This commit is contained in:
parent
ea638279e5
commit
4d1ee79b8d
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@
|
||||||
"author": "ItzCrazyKns",
|
"author": "ItzCrazyKns",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "npm run db:push && next build",
|
||||||
"start": "npm run db:push && next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"format:write": "prettier . --write",
|
"format:write": "prettier . --write",
|
||||||
"db:push": "drizzle-kit push"
|
"db:push": "drizzle-kit push"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue