perf(db): add revision and module query indexes

Индексы для diff/list префиксов и сортировки модулей; covering index для pagination.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-05-25 10:55:10 +07:00
co-authored by Cursor
parent 44b94caacf
commit ee8e24ffc6
4 changed files with 35 additions and 0 deletions
@@ -0,0 +1,3 @@
DROP INDEX IF EXISTS idx_rev_mat_prefix_uniq;
DROP INDEX IF EXISTS idx_module_tenant_active_sort;
DROP INDEX IF EXISTS idx_rev_mat_prefix_rev_prefix;