Config.js
This commit is contained in:
18
config/config.js
Normal file
18
config/config.js
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
module.exports = {
|
||||||
|
development: {
|
||||||
|
username: 'docker',
|
||||||
|
password: 'docker',
|
||||||
|
database: 'CrmIntegration',
|
||||||
|
port: '5431',
|
||||||
|
dialect: 'postgres',
|
||||||
|
logging: parseInt(process.env.SEQUELIZE_LOGGING) ? console.log : false
|
||||||
|
},
|
||||||
|
test: {
|
||||||
|
"use_env_variable": 'DATABASE_URL',
|
||||||
|
logging: parseInt(process.env.SEQUELIZE_LOGGING) ? console.log : false
|
||||||
|
},
|
||||||
|
production: {
|
||||||
|
"use_env_variable": 'DATABASE_URL',
|
||||||
|
logging: parseInt(process.env.SEQUELIZE_LOGGING) ? console.log : false
|
||||||
|
}
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user