mirror of
https://github.com/fosrl/pangolin.git
synced 2025-05-12 13:20:35 +01:00
13 lines
366 B
TypeScript
13 lines
366 B
TypeScript
import { APP_PATH } from "@server/lib/consts";
|
|
import { defineConfig } from "drizzle-kit";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
dialect: "sqlite",
|
|
schema: path.join("server", "db", "schemas"),
|
|
out: path.join("server", "migrations"),
|
|
verbose: true,
|
|
dbCredentials: {
|
|
url: path.join(APP_PATH, "db", "db.sqlite")
|
|
}
|
|
});
|