import type { Config } from "drizzle-kit"; const rawConnectionString = process.env.DATABASE_URL ?? "postgresql://postgres:postgres@localhost:5432/moh_sass"; export default { schema: "./lib/db/schema.ts", out: "./lib/db/migrations", dialect: "postgresql", dbCredentials: { url: rawConnectionString.split("?")[0], }, } satisfies Config;