add index for share_with table for newly created tables

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2017-12-14 16:42:43 +01:00 committed by Roeland Jago Douma
parent fda98ee917
commit de98581421
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 0 deletions

View File

@ -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')) {