Files
Homarr/packages/db/index.ts
2025-08-29 20:30:03 +02:00

13 lines
350 B
TypeScript

import Database from "better-sqlite3";
import { database } from "./driver";
export * from "drizzle-orm";
export const db = database;
export type Database = typeof db;
export type { HomarrDatabaseMysql, HomarrDatabasePostgresql } from "./driver";
export { handleDiffrentDbDriverOperationsAsync as handleTransactionsAsync } from "./transactions";