mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 17:00:54 +01:00
* chore: add initial db migration * test: add unit tests for packages auth, common, widgets * fix: deep source issues * fix: format issues * wip: add unit tests for api routers * fix: deep source issues * test: add missing unit tests for integration router * wip: board tests * test: add unit tests for board router * fix: remove unnecessary null assertions * fix: deepsource issues * fix: formatting * fix: pnpm lock * fix: lint and typecheck issues * chore: address pull request feedback * fix: non-null assertions * fix: lockfile broken
12 lines
274 B
TypeScript
12 lines
274 B
TypeScript
import * as dotenv from "dotenv";
|
|
import type { Config } from "drizzle-kit";
|
|
|
|
dotenv.config({ path: "../../.env" });
|
|
|
|
export default {
|
|
schema: "./schema",
|
|
driver: "better-sqlite",
|
|
dbCredentials: { url: process.env.DB_URL! },
|
|
out: "./migrations",
|
|
} satisfies Config;
|