diff options
author | Julius Knorr <jus@bitgrid.net> | 2025-04-14 13:34:47 +0200 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2025-04-16 11:06:22 +0200 |
commit | a8328b06d60f46fafac0668d12330c8020bc75cc (patch) | |
tree | 8e93451576b744305d3cf6c3730ce001b0571202 | |
parent | 3e5a3063ae7f47e6f504cc9f11d36e083e197cfd (diff) | |
download | nextcloud-server-a8328b06d60f46fafac0668d12330c8020bc75cc.tar.gz nextcloud-server-a8328b06d60f46fafac0668d12330c8020bc75cc.zip |
perf: Add index to select properties by name, path and user
Signed-off-by: Julius Knorr <jus@bitgrid.net>
-rw-r--r-- | core/Application.php | 5 |
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( |