mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 08:50:56 +01:00
* fix(deps): update dependency drizzle-kit to ^0.21.0 * fix(deps): update dependency drizzle-kit to ^0.21.1 * fix: migrate to drizzle kit 0.21 * fix: format issues * feat: add default env variables for db dialect and driver * fix: issue with driver seems to be fixed --------- Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
12 lines
275 B
TypeScript
12 lines
275 B
TypeScript
import * as dotenv from "dotenv";
|
|
import type { Config } from "drizzle-kit";
|
|
|
|
dotenv.config({ path: "../../.env" });
|
|
|
|
export default {
|
|
dialect: "sqlite",
|
|
schema: "./schema",
|
|
dbCredentials: { url: process.env.DB_URL! },
|
|
out: "./migrations/sqlite",
|
|
} satisfies Config;
|