aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVarun Patil <varunpatil@ucla.edu>2024-03-30 12:14:27 -0700
committerVarun Patil <varunpatil@ucla.edu>2024-03-30 12:29:28 -0700
commit5bb0a2933953cd9347b6a6bfeac312ce79bff6f1 (patch)
tree4b0ccf622ddb952c4e3d760fea426427638d94e5 /core
parent4b85a886207c2a5d2faffc055e7662ea99118c1a (diff)
downloadnextcloud-server-5bb0a2933953cd9347b6a6bfeac312ce79bff6f1.tar.gz
nextcloud-server-5bb0a2933953cd9347b6a6bfeac312ce79bff6f1.zip
perf(core): add index on name
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Diffstat (limited to 'core')
-rw-r--r--core/Application.php5
1 files changed, 5 insertions, 0 deletions
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',