mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-02 04:39:22 +01:00
13 lines
350 B
TypeScript
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";
|