Files
PetitTeton/.sequelizerc
Wynne Crisman 0a7cff6672 Merged PetitTeton webapp with the inventory tracking app; Moved the database configuration out of git and added an example configuration; Added migrations to the mix so that we can easily update the production database and roll back changes to the database (from the command line install migrations [may not be necessary?]:
npm install -g sequelize-cli

To update the database after updating the app from git (on the command line in the webapp base directory):
sequelize db:migrate

To undo the last migrations:
sequelize db:migrate:undo
2016-06-13 11:54:12 -07:00

7 lines
125 B
Plaintext

var path=require('path');
//'migrations-path': 'migrations'
module.exports = {
'config': path.resolve('config', 'db.js')
}