Drizzle ORM
Scope
Focus on Drizzle ORM usage only (schemas, queries, connections, migrations). Follow existing project conventions before introducing new patterns.
Workflow
- Inspect
drizzle.config.*, schema files, and the database client setup before changes. - Use the relevant references:
references/querying.mdfor query patterns, joins, transactions, and raw SQL.references/postgres.mdfor Postgres drivers, connection setup, and runtime notes.references/schema-migrations.mdfor schema changes and migrations.
- Keep schema changes and migrations in lockstep using the repo's scripts/commands.