liljudd-website/drizzle.config.ts
2024-02-18 22:02:52 +01:00

11 lines
266 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;