revert: Allow postgres connections that require ssl mode (#408)

This reverts commit d627a5660a.
This commit is contained in:
Maksim Eltyshev
2023-02-28 02:56:16 +05:00
committed by GitHub
parent 0eeb10a4b0
commit e93cc88f5c
3 changed files with 1 additions and 16 deletions
+1 -6
View File
@@ -8,12 +8,7 @@ dotenv.config({
module.exports = {
client: 'pg',
connection: {
connectionString: process.env.DATABASE_URL,
ssl: {
rejectUnauthorized: false,
},
},
connection: process.env.DATABASE_URL,
migrations: {
tableName: 'migration',
directory: path.join(__dirname, 'migrations'),