feat(core): scaffold account manager platform

This commit is contained in:
dmg
2026-08-01 13:03:26 -04:00
commit 9d305e5dc9
36 changed files with 11898 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { drizzle } from "drizzle-orm/postgres-js";
import postgres from "postgres";
import * as schema from "./schema";
export function createDatabase(databaseUrl: string) {
const client = postgres(databaseUrl, { max: 10 });
return {
client,
db: drizzle(client, { schema }),
};
}
export * from "./schema";