mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(setup): add index properities_name_path_user by default
Added in #52175 but only to the missing indices listener. Resulted in new installations trigger warnings about database missing indices unnecessary. Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
b76e8090af
commit
e5ae269c43
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