aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Knorr <jus@bitgrid.net>2025-04-14 13:34:47 +0200
committerAndy Scherzinger <info@andy-scherzinger.de>2025-04-15 14:34:56 +0200
commit39cf05fe9351193001b3d75f82538d780c5c05ca (patch)
treef1c33094ba56499bcfcd643510b3d62dbb3d0069
parente5b34b700debe5f47bc413c29a746c033a06d641 (diff)
downloadnextcloud-server-perf/properies-index-.tar.gz
nextcloud-server-perf/properies-index-.zip
perf: Add index to select properties by name, path and userperf/properies-index-
Signed-off-by: Julius Knorr <jus@bitgrid.net>
-rw-r--r--core/Application.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php
index cfd0f90ef24..a0dacb885ae 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -183,6 +183,11 @@ class Application extends App {
'properties_pathonly_index',
['propertypath']
);
+ $event->addMissingIndex(
+ 'properties',
+ 'properties_name_path_user',
+ ['propertyname', 'propertypath', 'userid']
+ );
$event->addMissingIndex(