summaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-03 13:32:49 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-03 13:36:02 +0200
commit2f59f389d2dc5bd701883f8c27b20a6bfc420519 (patch)
treeefffa478a9f5275709521e3db1d85f0daa4a3df0 /core/Migrations
parentd9238b810a5a01bc229644d06b412025bbaee03d (diff)
downloadnextcloud-server-2f59f389d2dc5bd701883f8c27b20a6bfc420519.tar.gz
nextcloud-server-2f59f389d2dc5bd701883f8c27b20a6bfc420519.zip
Add parent index to share table
Fixes #9327 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version13000Date20170718121200.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php
index 139129eb600..05623e435c3 100644
--- a/core/Migrations/Version13000Date20170718121200.php
+++ b/core/Migrations/Version13000Date20170718121200.php
@@ -401,6 +401,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
$table->addIndex(['file_source'], 'file_source_index');
$table->addIndex(['token'], 'token_index');
$table->addIndex(['share_with'], 'share_with_index');
+ $table->addIndex(['parent'], 'parent_index');
}
if (!$schema->hasTable('jobs')) {