hostforge/drizzle.config.ts

11 lines
249 B
TypeScript
Raw Permalink Normal View History

2023-11-02 01:23:18 +00:00
import type { Config } from "drizzle-kit";
export default {
2024-05-15 02:01:22 +00:00
out: "./drizzle",
2024-05-03 21:02:15 +00:00
schema: "./src/server/db/schema/index.ts",
dialect: "sqlite",
2023-11-02 01:23:18 +00:00
dbCredentials: {
2023-11-11 01:35:55 +00:00
url: process.env.DATABASE_PATH ?? "./data/db.sqlite",
2023-11-02 01:23:18 +00:00
},
} satisfies Config;