diff --git a/src/database/postgres/connection.js b/src/database/postgres/connection.js index 526fc44bab..9b38704575 100644 --- a/src/database/postgres/connection.js +++ b/src/database/postgres/connection.js @@ -27,7 +27,7 @@ connection.getConnectionOptions = function (postgres) { user: postgres.username, password: postgres.password, database: postgres.database, - ssl: postgres.ssl, + ssl: String(postgres.ssl) === 'true', }; return _.merge(connOptions, postgres.options || {});