mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-12 01:36:43 +02:00
14 lines
314 B
TypeScript
14 lines
314 B
TypeScript
import { defineConfig } from "drizzle-kit";
|
|
import * as dotenv from "dotenv";
|
|
|
|
dotenv.config({ path: ".env.local" });
|
|
|
|
export default defineConfig({
|
|
schema: "./src/db/schema.ts",
|
|
out: "./src/db/migrations",
|
|
dialect: "postgresql",
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL!,
|
|
},
|
|
});
|