Initial import of streamline
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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! },
|
||||
});
|
||||
Reference in New Issue
Block a user