From 5bb0a2933953cd9347b6a6bfeac312ce79bff6f1 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sat, 30 Mar 2024 12:14:27 -0700 Subject: [PATCH] perf(core): add index on name Signed-off-by: Varun Patil --- core/Application.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/Application.php b/core/Application.php index a4e915caec2..c0b88e154c0 100644 --- a/core/Application.php +++ b/core/Application.php @@ -126,6 +126,11 @@ class Application extends App { 'fs_parent', ['parent'] ); + $event->addMissingIndex( + 'filecache', + 'fs_name_hash', + ['name'] + ); $event->addMissingIndex( 'twofactor_providers',