mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
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:
commit
f5663d6cc7
1 changed files with 1 additions and 0 deletions
|
|
@ -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')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue