Skip to content

Commit

Permalink
fix: run prisma migrate every time we restart the application
Browse files Browse the repository at this point in the history
  • Loading branch information
irony committed Nov 13, 2024
1 parent 51a470e commit 84dbb46
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 @@ -7,7 +7,7 @@
"node": ">=22.0.0"
},
"scripts": {
"start": "node --import tsx src/index.ts",
"start": "npx prisma migrate deploy && node --import tsx src/index.ts",
"workers": "node --import tsx src/startWorkers.ts",
"dev-workers": "cross-env DOTENV_CONFIG_PATH=./.env.development node --import tsx --watch src/startWorkers.ts",
"dev-board": "cross-env DOTENV_CONFIG_PATH=./.env.development node --import tsx --watch src/index.ts",
Expand Down

0 comments on commit 84dbb46

Please sign in to comment.