Files
Homarr/packages/db/index.ts

14 lines
373 B
TypeScript
Raw Normal View History

import Database from "better-sqlite3";
2023-12-08 22:35:15 +01:00
import { database } from "./driver";
2023-12-08 22:35:15 +01:00
export * from "drizzle-orm";
export const db = database;
export type Database = typeof db;
export type { HomarrDatabaseMysql } from "./driver";
export { createId } from "@paralleldrive/cuid2";
export { handleDiffrentDbDriverOperationsAsync as handleTransactionsAsync } from "./transactions";