basic seed files and restructuring

This commit is contained in:
Arjun Patel
2019-03-13 21:22:01 -07:00
parent 66173a978b
commit 0c88460b54
26 changed files with 104 additions and 202 deletions
+25
View File
@@ -0,0 +1,25 @@
require('dotenv/config');
module.exports = {
development: {
username: 'root',
password: 'water',
database: 'base',
host: 'localhost',
dialect: 'mysql'
},
test: {
username: 'root',
password: null,
database: 'database_test',
host: '127.0.0.1',
dialect: 'mysql'
},
production: {
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
}
};