Files
beacon-server/db/migrations/046_drop_observations_observer_id.sql
MrAlders0n 100e35cb51 Drop idx_observations_observer_id: advert pages read the partial adverts index (#250)
* perf(db): drop idx_observations_observer_id; advert pages read the partial adverts index

* test(planguard): retired-index rule, end-state overlay for the local tier, budgets kept on degraded entries
2026-10-20 06:23:40 -04:00

6 lines
247 B
SQL

-- Copyright 2026 Beacon Contributors
-- SPDX-License-Identifier: AGPL-3.0-or-later
-- Advert pages read idx_observations_adverts; lookups by observer use idx_observations_observer.
DROP INDEX CONCURRENTLY IF EXISTS idx_observations_observer_id;