diff --git a/knexfile.js b/knexfile.js index a21f7de2..f0b0ed6b 100644 --- a/knexfile.js +++ b/knexfile.js @@ -14,7 +14,10 @@ module.exports = { }, production: { client: 'pg', - connection: process.env.DATABASE_URL, + connection: { + connectionString: process.env.DATABASE_URL, + ssl: { rejectUnauthorized: false }, + }, migrations: { directory: path.join(BASE_PATH, 'migrations') },