tenantpilot/drizzle.config.ts
Ahmed Darrazi 477ac67703
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
Fix: Make all env vars optional for Docker build time
2025-12-05 23:52:11 +01:00

11 lines
257 B
TypeScript

import type { Config } from "drizzle-kit";
import { env } from "@/lib/env.mjs";
export default {
schema: "./lib/db/schema",
dialect: "postgresql",
out: "./lib/db/migrations",
dbCredentials: {
url: env.DATABASE_URL ?? "",
}
} satisfies Config;