Creates 99-additional-fk-indexes.sql with indexes for all FKs that were identified without dedicated index coverage. Organized by priority: - HIGH: billing (3), notifications (1), sales (2), commissions (1) - MEDIUM: audit (2), storage (1), webhooks (1), whatsapp (1) - LOW: created_by/approved_by fields across multiple schemas References: TASK-2026-02-03-REMEDIACION-BD (P1) Based on: INFORME-INTEGRIDAD-REFERENCIAL.md analysis Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| schemas | ||
| 00-extensions.sql | ||
| 01-schemas.sql | ||
| 02-enums.sql | ||
| 03-functions.sql | ||
| 99-additional-fk-indexes.sql | ||