Setup sync_runs table

This commit is contained in:
Dominic Ferrando
2026-07-02 00:03:01 -04:00
parent f2781e1803
commit 934c523bf9
5 changed files with 81 additions and 52 deletions
+12
View File
@@ -0,0 +1,12 @@
import { Kysely, PostgresDialect } from 'kysely';
import { type DB } from 'kysely-codegen';
import { Pool } from "pg";
import { env } from '../util';
export const db = new Kysely<DB>({
dialect: new PostgresDialect({
pool: new Pool({
connectionString: env.DATABASE_URL,
}),
})
});