Files
streamline/drizzle.config.ts
T
2026-11-16 17:26:44 -08:00

13 lines
479 B
TypeScript

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! },
});