Merge branch 'dev' into clients-pops

This commit is contained in:
miloschwartz
2025-06-22 17:50:39 -04:00
21 changed files with 231 additions and 208 deletions

View File

@@ -5,6 +5,12 @@ import { withReplicas } from "drizzle-orm/pg-core";
function createDb() {
const config = readConfigFile();
if (!config.postgres) {
throw new Error(
"Postgres configuration is missing in the configuration file."
);
}
const connectionString = config.postgres?.connection_string;
const replicaConnections = config.postgres?.replicas || [];