integration with migrations/seeds/etc

This commit is contained in:
Arjun Patel
2019-01-21 22:49:54 -08:00
parent 33afb962ae
commit 6e6eba3de4
9 changed files with 267 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
require('dotenv/config');
module.exports = {
development: {
username: process.env.DB_USERNAME,
password: process.env.DB_PASSWORD,
database: process.env.DB_DB,
host: process.env.DB_HOST,
dialect: process.env.DB_DIALECT
},
test: {
username: 'root',
password: null,
database: 'database_test',
host: '127.0.0.1',
dialect: 'mysql'
},
production: {
username: 'root',
password: null,
database: 'database_production',
host: '127.0.0.1',
dialect: 'mysql'
}
};