mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
The sliding-30-day session reaper and the passkey-challenge sweep both filter on expires_at, but neither sessions nor auth_challenges indexed that column, so the cleanup degraded to a sequential scan on a busy instance. Every sibling expiry table already indexes its expiry column; add the two missing indexes via migration 0178.