New database with migrations

This commit is contained in:
Jori Lallo
2016-06-20 00:18:03 -07:00
parent f2732aacab
commit 24e02bfdc4
12 changed files with 361 additions and 49 deletions

View File

@@ -11,7 +11,8 @@
"start": "cross-env NODE_ENV=development DEBUG=1 ./node_modules/.bin/nodemon --watch server index.js",
"lint": "eslint src",
"deploy": "git push heroku master",
"heroku-postbuild": "npm run build"
"heroku-postbuild": "npm run build && npm run sequelize db:migrate",
"sequelize": "./node_modules/.bin/sequelize"
},
"repository": {
"type": "git",
@@ -97,7 +98,7 @@
"safestart": "^0.8.0",
"sass-loader": "^3.2.0",
"sequelize": "^3.21.0",
"sequelize-cli": "^2.3.1",
"sequelize-cli": "^2.4.0",
"sequelize-encrypted": "^0.1.0",
"slug": "^0.9.1",
"style-loader": "^0.13.0",