chore: Add env variable to toggle postgresql ssl flag

This commit is contained in:
Faruk AYDIN
2021-11-23 14:32:52 +01:00
committed by Ali BARIN
parent cf1fa9039b
commit a5811d44ac
3 changed files with 6 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ const knexConfig = {
user: appConfig.postgresUsername,
password: appConfig.postgresPassword,
database: appConfig.postgresDatabase,
ssl: true,
ssl: appConfig.postgresEnableSsl
},
migrations: {
directory: __dirname + '/src/db/migrations',