liljudd-website/drizzle.config.ts

11 lines
271 B
TypeScript

import "dotenv/config";
import type { Config } from "drizzle-kit";
export default {
schema: "./src/drizzle/schema.ts",
out: "./src/drizzle/migrations",
driver: "pg",
dbCredentials: {
connectionString: process.env.DATABASE_URL ?? "",
},
} satisfies Config;