My production setup in my knexfile.js looks like this:
production: {
client: 'pg',
connection: process.env.DATABASE_URL,
migrations: {
directory: './data/migrations'
},
seeds: {
directory: './data/seeds'
},
I have tried adding ssl: true and false and also added ssl: {rejectUnauthorized: false } to no avail. This has never been an issue for me before so not sure why this error keeps happening. Any help is appreciated!