Skip to content

Commit

Permalink
change knexfile connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Staticerz committed Jun 18, 2024
1 parent 4f79427 commit 5fbaeef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion knexfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
},
Expand Down

0 comments on commit 5fbaeef

Please sign in to comment.