mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 13:50:43 +00:00
16 lines
401 B
TypeScript
16 lines
401 B
TypeScript
import { APP_PATH } from "@server/lib/consts";
|
|
import { defineConfig } from "drizzle-kit";
|
|
import path from "path";
|
|
|
|
const schema = [path.join("server", "db", "sqlite", "schema")];
|
|
|
|
export default defineConfig({
|
|
dialect: "sqlite",
|
|
schema: schema,
|
|
out: path.join("server", "migrations"),
|
|
verbose: true,
|
|
dbCredentials: {
|
|
url: path.join(APP_PATH, "db", "db.sqlite")
|
|
}
|
|
});
|