Replace entire codebase with homarr-labs/homarr
This commit is contained in:
12
packages/db/index.ts
Normal file
12
packages/db/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
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";
|
||||
Reference in New Issue
Block a user