towerops/priv
Graham McIntire 31cccf97b9
perf: add organization_id to alerts for fast single-table queries
- Denormalize organization_id from device to alerts table
- Add composite indexes on (organization_id, alert_type, resolved_at)
- Optimize list_organization_active_alerts to use single-table query
- Eliminates expensive 3-table joins (alerts → device → site)
- Auto-populate organization_id when creating alerts
- Backfill existing alerts in migration

Fixes bug #14 from reliability audit.
2026-03-05 09:32:43 -06:00
..
gettext Fix tests, credo issues, and Gaiia sync bugs 2026-02-15 11:55:49 -06:00
mibs mib update from librenms 2026-01-28 13:38:31 -06:00
profiles feat: Phase 1 Quick Wins - 11 vendor profiles implemented 2026-02-12 10:52:51 -06:00
proto proto: sync agent.proto with towerops-agent 2026-02-15 08:56:48 -06:00
repo perf: add organization_id to alerts for fast single-table queries 2026-03-05 09:32:43 -06:00
static docs: update changelog and memory with bug fix details 2026-03-05 08:55:59 -06:00