mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-26 16:30:57 +01:00
13 lines
376 B
TypeScript
13 lines
376 B
TypeScript
import { createDb } from "@homarr/core/infrastructure/db";
|
|
|
|
import { schema } from "./schema";
|
|
|
|
export * from "drizzle-orm";
|
|
export type { HomarrDatabaseMysql, HomarrDatabasePostgresql } from "./driver";
|
|
|
|
export const db = createDb(schema);
|
|
|
|
export type Database = typeof db;
|
|
|
|
export { handleDiffrentDbDriverOperationsAsync as handleTransactionsAsync } from "./transactions";
|