Upgrade Pool Connection
so if i have
does this mean I have to upgrade? I tried to put in new POSTGRES_URL variable but its not working
does this mean I have to upgrade? I tried to put in new POSTGRES_URL variable but its not working
import pkg from 'pg';
const { Pool } = pkg;
import { Kysely, PostgresDialect } from "kysely";
import { POSTGRES_URL } from '$env/static/private';
export const pool = new Pool({
connectionString: POSTGRES_URL
})
const dialect = new PostgresDialect({
pool
});
export const db = new Kysely<Database>({
dialect
});