mirror of
https://github.com/khairul169/code-share.git
synced 2025-04-28 16:49:36 +07:00
12 lines
301 B
TypeScript
12 lines
301 B
TypeScript
import path from "node:path";
|
|
import type { Config } from "drizzle-kit";
|
|
|
|
export default {
|
|
schema: "./src/server/db/schema/_schema.ts",
|
|
out: "./src/server/db/drizzle",
|
|
driver: "better-sqlite",
|
|
dbCredentials: {
|
|
url: path.join(process.cwd(), "storage/database.db"),
|
|
},
|
|
} satisfies Config;
|