import { defineConfig } from "drizzle-kit"; // Drizzle Kit config — schema is the single source of truth for the Postgres // (snake_case) database. casing:"snake_case" mirrors the runtime client so the // generated DDL uses snake_case columns for our camelCase entity fields. export default defineConfig({ schema: "./control-server/src/schema.ts", out: "./drizzle", dialect: "postgresql", casing: "snake_case", dbCredentials: { url: process.env.DATABASE_URL! }, });