Merge pull request #52175 from nextcloud/perf/properies-index-

perf: Add index to select properties by name, path and user
This commit is contained in:
Andy Scherzinger 2025-04-16 11:23:33 +02:00 committed by GitHub
commit 85d2ee5262
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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