perf: Add index to select properties by name, path and user

Signed-off-by: Julius Knorr <jus@bitgrid.net>
pull/52175/head
Julius Knorr 2025-04-14 13:34:47 +07:00 committed by Andy Scherzinger
parent 3e5a3063ae
commit a8328b06d6
1 changed files with 5 additions and 0 deletions

@ -183,6 +183,11 @@ class Application extends App {
'properties_pathonly_index',
['propertypath']
);
$event->addMissingIndex(
'properties',
'properties_name_path_user',
['propertyname', 'propertypath', 'userid']
);
$event->addMissingIndex(