Files
vikunja/pkg/migration
kolaente a8d4a2b4b0 perf(tasks): add composite index on (done, due_date)
The home overview filters done = false over a due_date range and sorts by
due_date, but tasks only had single-column indexes. A composite lets the
planner walk the index in due_date order and stop at the LIMIT instead of
sorting every open task.

Leaves out a third `id DESC` column: DESC-direction indexes are awkward
across MySQL/PostgreSQL/SQLite and ties on an exact due_date are rare
enough for incremental sort to handle.
2026-08-29 17:50:20 +02:00
..