import { defineConfig } from "drizzle-kit"; // Schema source of truth for the query builder: src/db/schema.ts // (regenerated via `pnpm db:schema:generate` from the previous schema + live DB). // // This DB is shared with the Arcturus emulator — NEVER run `drizzle-kit migrate` // or `push` against it. CMS DDL stays in drizzle/migrations/*.sql applied by // `pnpm db:migrate`. Use `pnpm db:generate` only for draft SQL under drizzle/drafts/. export default defineConfig({ dialect: "mysql", schema: "./src/db/schema.ts", out: "./drizzle/drafts", dbCredentials: { url: process.env.DATABASE_URL ?? "", }, strict: true, verbose: true, });