Files

4 lines
281 B
SQL
Raw Permalink Normal View History

-- (registry_id, cycle_id) are the first columns of the UNIQUE index on
-- checks, which serves every lookup by them; the extra index only costs
-- writes (see docs/changes/2026-11-03_00-19_control-api-disk-write-reduction-plan.md).
DROP INDEX IF EXISTS idx_checks_registry_cycle;