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

This reverts commit eea57ff121.
This commit is contained in:
Maksim Eltyshev
2023-02-27 22:56:16 +01:00
committed by GitHub
parent 02eabd203c
commit 3d84888eb1
3 changed files with 1 additions and 16 deletions

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'),