mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 14:16:12 +00:00
Two additive indexes on medication_intake_events: (user_id, scheduled_for) for the sibling reads that filter without medication_id, and (user_id, medication_id, taken_at) for the per-medication last-taken group-by that scanned the whole intake history on every dashboard load. Additive migration 0253, no data change, no behaviour change.