Browse Source

add index for share_with table for newly created tables

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pull/7517/head
Bjoern Schiessle 9 years ago
committed by Roeland Jago Douma
parent
commit
de98581421
No known key found for this signature in database GPG Key ID: F941078878347C0C
  1. 1
      core/Migrations/Version13000Date20170718121200.php

1
core/Migrations/Version13000Date20170718121200.php

@ -400,6 +400,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
$table->addIndex(['item_type', 'share_type'], 'item_share_type_index');
$table->addIndex(['file_source'], 'file_source_index');
$table->addIndex(['token'], 'token_index');
$table->addIndex(['share_with'], 'share_with_index');
}
if (!$schema->hasTable('jobs')) {

Loading…
Cancel
Save