setup to control production db from local app

This commit is contained in:
Arjun Patel
2019-04-13 15:11:07 -07:00
parent 9ed96806fb
commit c670f506ac
4 changed files with 22 additions and 1 deletions
+10 -1
View File
@@ -29,6 +29,15 @@ module.exports = {
password: 'ykjkyenyvxig208z',
database: 'n0j9gxnf4ijr7g8t',
host: 'am1shyeyqbxzy8gc.cbetxkdyhwsb.us-east-1.rds.amazonaws.com',
dialect: 'mysql'
dialect: 'mysql',
// default options for all models
define: {
underscored: true, // true: use underscore for automatically added attributes like timestamps below
timestamps: true // createdAt and updatedAt automatically added
},
// disable logging; default: console.log
logging: false
}
};