added sequelizeCli config example

This commit is contained in:
bill bittner 2017-11-07 10:57:31 -08:00
parent 7589ad043d
commit 912363e936
3 changed files with 29 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
node_modules
.idea
config/config.json
config/sequelizeCliConfig.js
config/speechConfig.js

5
.sequelizerc Normal file
View file

@ -0,0 +1,5 @@
const path = require('path');
module.exports = {
'config': path.resolve('config', 'sequelizeCliConfig.json'),
}

View file

@ -0,0 +1,23 @@
module.exports = {
development: {
username: 'database_dev',
password: 'database_dev',
database: 'database_dev',
host : '127.0.0.1',
dialect : 'mysql',
},
test: {
username: 'database_dev',
password: 'database_dev',
database: 'database_dev',
host : '127.0.0.1',
dialect : 'mysql',
},
production: {
username: 'database_dev',
password: 'database_dev',
database: 'database_dev',
host : '127.0.0.1',
dialect : 'mysql',
},
};