chatbot-template/drizzle.config.ts

17 lines
351 B
TypeScript
Raw Normal View History

import { config } from "dotenv";
import { defineConfig } from "drizzle-kit";
2024-10-11 18:00:22 +05:30
config({
path: ".env.local",
2024-10-11 18:00:22 +05:30
});
export default defineConfig({
schema: "./lib/db/schema.ts",
out: "./lib/db/migrations",
dialect: "postgresql",
2024-10-11 18:00:22 +05:30
dbCredentials: {
2024-11-15 13:00:15 -05:00
// biome-ignore lint: Forbidden non-null assertion.
2024-10-11 18:00:22 +05:30
url: process.env.POSTGRES_URL!,
},
});