aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2025-04-16 11:23:33 +0200
committerGitHub <noreply@github.com>2025-04-16 11:23:33 +0200
commit85d2ee5262b7c5fde12c4f0b34552a5f017610b8 (patch)
tree8e93451576b744305d3cf6c3730ce001b0571202
parent3e5a3063ae7f47e6f504cc9f11d36e083e197cfd (diff)
parenta8328b06d60f46fafac0668d12330c8020bc75cc (diff)
downloadnextcloud-server-85d2ee5262b7c5fde12c4f0b34552a5f017610b8.tar.gz
nextcloud-server-85d2ee5262b7c5fde12c4f0b34552a5f017610b8.zip
Merge pull request #52175 from nextcloud/perf/properies-index-
perf: Add index to select properties by name, path and user
-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(