diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-12-14 16:42:43 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-18 21:14:45 +0100 |
commit | de9858142141f3fdc80ed443e59ef9ef11fce02c (patch) | |
tree | 6970d526bd7b25ba9206148616ae113a831aa675 /core/Migrations/Version13000Date20170718121200.php | |
parent | fda98ee917508836e42cc211cdfc9f652a2622c1 (diff) | |
download | nextcloud-server-de9858142141f3fdc80ed443e59ef9ef11fce02c.tar.gz nextcloud-server-de9858142141f3fdc80ed443e59ef9ef11fce02c.zip |
add index for share_with table for newly created tables
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'core/Migrations/Version13000Date20170718121200.php')
-rw-r--r-- | core/Migrations/Version13000Date20170718121200.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index 0ab777f6de2..e71debfcb4b 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/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')) { |