Merge pull request #58417 from nextcloud/backport/58236/stable32

[stable32] fix(setup): add index properties_name_path_user by default on new installs
This commit is contained in:
Josh 2026-02-19 10:58:10 -05:00 committed by GitHub
commit f5663d6cc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -341,6 +341,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
// $table->addIndex(['userid'], 'property_index');
$table->addIndex(['userid', 'propertypath'], 'properties_path_index');
$table->addIndex(['propertypath'], 'properties_pathonly_index');
$table->addIndex(['propertyname', 'propertypath', 'userid'], 'properties_name_path_user');
} else {
$table = $schema->getTable('properties');
if ($table->hasColumn('propertytype')) {