Skip to content

Commit 711a073

Browse files
Merge pull request #58418 from nextcloud/backport/58236/stable33
[stable33] fix(setup): add index properties_name_path_user by default on new installs
2 parents 2bd0bd7 + a673f49 commit 711a073

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/Migrations/Version13000Date20170718121200.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
341341
// $table->addIndex(['userid'], 'property_index');
342342
$table->addIndex(['userid', 'propertypath'], 'properties_path_index');
343343
$table->addIndex(['propertypath'], 'properties_pathonly_index');
344+
$table->addIndex(['propertyname', 'propertypath', 'userid'], 'properties_name_path_user');
344345
} else {
345346
$table = $schema->getTable('properties');
346347
if ($table->hasColumn('propertytype')) {

0 commit comments

Comments
 (0)