|
|
@ -8,10 +8,10 @@ import type {
|
|
|
|
MessageEntity,
|
|
|
|
MessageEntity,
|
|
|
|
} from "./common.ts";
|
|
|
|
} from "./common.ts";
|
|
|
|
import type { CommittedMessage } from "../types";
|
|
|
|
import type { CommittedMessage } from "../types";
|
|
|
|
|
|
|
|
import { env } from "../server/env.js";
|
|
|
|
|
|
|
|
|
|
|
|
export const pool = new Pool({
|
|
|
|
export const pool = new Pool({
|
|
|
|
connectionString:
|
|
|
|
connectionString: env.POSTGRES_CONNECTION_STRING as string,
|
|
|
|
"postgres://neondb_owner:npg_sOVmj8vWq2zG@ep-withered-king-adiz9gpi-pooler.c-2.us-east-1.aws.neon.tech:5432/neondb?sslmode=require&channel_binding=true",
|
|
|
|
|
|
|
|
// channelBinding: require ?
|
|
|
|
// channelBinding: require ?
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|