database config convention

This commit is contained in:
Arjun Patel
2019-02-23 18:34:26 -08:00
parent ef7aee2ff7
commit 4accd39079
+3 -3
View File
@@ -1,14 +1,14 @@
require('dotenv/config'); require('dotenv/config');
module.exports = { module.exports = {
development: { local: {
username: 'root', username: 'root',
password: 'water', password: 'water',
database: 'base', database: 'ucharify',
host: 'localhost', host: 'localhost',
dialect: 'mysql' dialect: 'mysql'
}, },
test: { staging: {
username: 'root', username: 'root',
password: null, password: null,
database: 'database_test', database: 'database_test',