mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-31 03:39:21 +01:00
* feat: add mysql support * fix: lockfile broken * fix: ci issues * fix: ci issues * fix: ci issues
16 lines
376 B
TypeScript
16 lines
376 B
TypeScript
import Database from "better-sqlite3";
|
|
|
|
import { database } from "./driver";
|
|
import * as sqliteSchema from "./schema/sqlite";
|
|
|
|
// Export only the types from the sqlite schema as we're using that.
|
|
export const schema = sqliteSchema;
|
|
|
|
export * from "drizzle-orm";
|
|
|
|
export const db = database;
|
|
|
|
export type Database = typeof db;
|
|
|
|
export { createId } from "@paralleldrive/cuid2";
|