From d8fa8ceffb16c4c9f446226e4e94138951a1b012 Mon Sep 17 00:00:00 2001 From: William Allen Date: Tue, 10 Mar 2026 10:47:11 -0400 Subject: [PATCH] Add index for efficient next/previous build lookup None of our indexes currently cover the very common case of looking up next and previous instances of a build. This commit adds such an index, allowing the queries to avoid going to the heap. --- ...026_03_10_143442_next_previous_build_index.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 database/migrations/2026_03_10_143442_next_previous_build_index.php diff --git a/database/migrations/2026_03_10_143442_next_previous_build_index.php b/database/migrations/2026_03_10_143442_next_previous_build_index.php new file mode 100644 index 0000000000..c888c82d1c --- /dev/null +++ b/database/migrations/2026_03_10_143442_next_previous_build_index.php @@ -0,0 +1,15 @@ +