Description
Create a guide covering database indexing best practices within the Nerva/Drizzle ecosystem. Index design is one of the most impactful performance decisions in any API, and the framework should guide users toward good defaults.
Why
The pipeline generates Drizzle schemas with basic indexes, but users need guidance on when and how to add composite indexes, partial indexes, and covering indexes. Poor indexing is the #1 cause of slow APIs in production.
Acceptance Criteria
Description
Create a guide covering database indexing best practices within the Nerva/Drizzle ecosystem. Index design is one of the most impactful performance decisions in any API, and the framework should guide users toward good defaults.
Why
The pipeline generates Drizzle schemas with basic indexes, but users need guidance on when and how to add composite indexes, partial indexes, and covering indexes. Poor indexing is the #1 cause of slow APIs in production.
Acceptance Criteria