Add database type.

This commit is contained in:
themodrnhakr 2025-09-27 11:01:38 -05:00
parent 22c782c3ec
commit 2c9b855d2a

View File

@ -6,3 +6,4 @@ import { drizzle } from "drizzle-orm/bun-sqlite";
const sqlite = new Database("sqlite.db");
export const db = drizzle({ client: sqlite, schema: { ...schema1, ...schema2, ...schema3 } });
export type DB = typeof db;