Files
manyangles/packages/database/drizzle.config.ts
T

16 lines
328 B
TypeScript

import "dotenv/config";
import { defineConfig } from "drizzle-kit";
const url =
process.env.DATABASE_URL ??
"postgres://album:album@localhost:5439/album";
export default defineConfig({
schema: ["./src/schema.ts", "./src/auth-schema.ts"],
out: "./drizzle",
dialect: "postgresql",
dbCredentials: {
url,
},
});