import type { Config } from 'drizzle-kit' /** * Drizzle owns what it can diff: tables, and the RLS policies declared * beside them via `pgPolicy`. It cannot diff a SQL function, so * `release_level`, `class_released` and the release-matrix seed live in * hand-authored custom migrations under `migrations/custom`. * * Generated SQL is never hand-edited. See docs/migrations.md. */ export default { schema: './src/db/schema/index.ts', out: './migrations', dialect: 'postgresql', dbCredentials: { url: process.env.DATABASE_URL! }, verbose: true, strict: true, } satisfies Config