From a8328b06d60f46fafac0668d12330c8020bc75cc Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Mon, 14 Apr 2025 13:34:47 +0200 Subject: [PATCH] perf: Add index to select properties by name, path and user Signed-off-by: Julius Knorr --- core/Application.php | 5 +++++ 1 file changed, 5 insertions(+) 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(