We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 605eb08 commit fa7a8e4Copy full SHA for fa7a8e4
src/db/apply-migrations.ts
@@ -25,6 +25,9 @@ export async function applyMigrations() {
25
26
const client = new pg.Client({
27
connectionString: env.POSTGRES_CONNECTION_URL,
28
+ ssl: {
29
+ rejectUnauthorized: false,
30
+ },
31
});
32
33
await client.connect();
src/db/connection.ts
@@ -6,6 +6,9 @@ import * as schema from "./schema.js";
6
const primaryDb = drizzle(
7
new pg.Pool({
8
9
10
11
12
}),
13
{ schema }
14
);
0 commit comments