Skip to content

Commit c6d339a

Browse files
committed
change to see if worked
1 parent 25cb47e commit c6d339a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

knexfile.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const localPgConnection = {
66
password: process.env.DB_PASSWORD,
77
database: "linkedinchrome"
88
};
9-
9+
console.log()
1010
const prodDbConnection = process.env.DATABASE_URL || localPgConnection;
1111

1212
module.exports = {
@@ -26,7 +26,10 @@ module.exports = {
2626

2727
production: {
2828
client: "pg",
29-
connection: prodDbConnection,
29+
connection: {
30+
connectionString: prodDbConnection,
31+
ssl: { rejectUnauthorized },
32+
},
3033
migrations: { directory: "./data/migrations" },
3134
seeds: { directory: "./data/seeds/" }
3235
}

0 commit comments

Comments
 (0)