What problem does it solve? It standardizes how teams write Drizzle ORM schemas, queries, and migrations so PostgreSQL tables, indexes, relations, and inferred types stay consistent and safe to evolve. ## Core Features & Use Cases - Schema Conventions: Enforces naming rules, surrogate primary keys, foreign keys, timestamps, typed JSONB columns, and index definitions for new tables. - Query Style Guide: Mandates the db.select() builder API over the relational db.query.* API, with patterns for joins, aggregations, upserts, and raw SQL fallbacks like recursive CTEs. - Migration Workflow: Covers generating migrations with bun run db:generate, renaming files meaningfully, and writing idempotent SQL with IF NOT EXISTS clauses. - Use Case: When adding a new workspace-scoped table, follow the guide to pick the right table name, use a surrogate UUID primary key with a unique index, spread standard timestamps, and generate an idempotent migration. ## Quick Start Ask the AI to create a new Drizzle table schema with proper primary keys, indexes, and a migration following the project conventions.