Skip to content

Commit 85d2ee5

Browse files
Merge pull request #52175 from nextcloud/perf/properies-index-
perf: Add index to select properties by name, path and user
2 parents 3e5a306 + a8328b0 commit 85d2ee5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/Application.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@ public function __construct() {
183183
'properties_pathonly_index',
184184
['propertypath']
185185
);
186+
$event->addMissingIndex(
187+
'properties',
188+
'properties_name_path_user',
189+
['propertyname', 'propertypath', 'userid']
190+
);
186191

187192

188193
$event->addMissingIndex(

0 commit comments

Comments
 (0)