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
..
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-08-27 20:34:29 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-08-02 16:21:50 +02:00
2026-07-26 13:42:33 +00:00
2026-07-26 13:42:33 +00:00
2026-06-17 21:16:41 +00:00
2026-07-26 13:42:33 +00:00
2026-07-19 12:13:35 +02:00
2026-07-19 12:13:35 +02:00
2026-07-26 13:42:33 +00:00
2026-07-19 18:59:34 +02:00
2026-07-29 09:21:25 +02:00
2026-07-29 09:21:25 +02:00
2026-07-26 01:13:08 +00:00
2026-07-29 07:58:17 +00:00
2026-07-29 07:58:17 +00:00
2026-07-29 07:58:17 +00:00
2026-07-29 07:58:17 +00:00
2026-08-04 01:09:10 +02:00
2026-08-04 01:09:10 +02:00
2026-08-18 22:03:38 +02:00
2026-08-20 11:58:06 +02:00
2026-08-20 11:58:06 +02:00
2026-08-29 17:50:20 +02:00
2026-07-11 18:02:57 +02:00
2026-08-05 19:35:11 +02:00
2026-07-11 18:02:57 +02:00
2026-07-11 18:02:57 +02:00