mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-27 00:14:04 +00:00
Run db migrations on start
We should force db migrations to run on every start. This will minimize the impact of breaking migrations in future. While it may causes some issues with the next start since CodiMD won't start when the migrations fail. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
5aec047a3e
commit
db59bb99dc
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
"dev": "webpack --config webpack.config.js --progress --colors --watch",
|
"dev": "webpack --config webpack.config.js --progress --colors --watch",
|
||||||
"build": "webpack --config webpack.production.js --progress --colors --bail",
|
"build": "webpack --config webpack.production.js --progress --colors --bail",
|
||||||
"postinstall": "bin/heroku",
|
"postinstall": "bin/heroku",
|
||||||
"start": "node app.js",
|
"start": "sequelize db:migrate && node app.js",
|
||||||
"doctoc": "doctoc --title='# Table of Contents' README.md"
|
"doctoc": "doctoc --title='# Table of Contents' README.md"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in a new issue