staging, config, and some more changes

This commit is contained in:
2022-10-22 16:34:08 +05:30
parent be88805117
commit 7e59afe469
8 changed files with 151 additions and 125 deletions

View File

@@ -6,6 +6,13 @@ module.exports = {
"database": process.env.DB_NAME, // local PostgreSQL DB name
"dialect": "postgres"
},
"staging": {
"use_env_variable": "DB_URL", // staging database connection string
"dialect": "postgres",
"dialectOptions": {
"ssl": true,
},
},
"production": {
"use_env_variable": "DB_URL", // production database connection string
"dialect": "postgres",