Overview
Entities across ~20 modules define relations, but there is no evidence of a deliberate indexing pass. Booking conflict checks, availability lookups, and dashboard aggregations all filter on columns that are likely unindexed — these degrade sharply as data grows.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
Entities across ~20 modules define relations, but there is no evidence of a deliberate indexing pass. Booking conflict checks, availability lookups, and dashboard aggregations all filter on columns that are likely unindexed — these degrade sharply as data grows.
Tasks
@Index()declarations, including composite indexes matching real filter order (e.g.(workspaceId, startTime, endTime)).EXPLAIN ANALYZEbefore/after in the PR.Acceptance Criteria
Notes for Contributors
Comment below to be assigned.