aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version13000Date20170718121200.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-09-22 15:15:34 +0200
committerRobin Appelman <robin@icewind.nl>2020-09-22 15:15:34 +0200
commit634c051be6a4ec7d3b6b2b9c825ec484c9e76a22 (patch)
tree0fd02aff7f897198f88ad861cf8bb7826056899f /core/Migrations/Version13000Date20170718121200.php
parent48961823f716ef096c180980b6f9d0c7c22dace3 (diff)
downloadnextcloud-server-634c051be6a4ec7d3b6b2b9c825ec484c9e76a22.tar.gz
nextcloud-server-634c051be6a4ec7d3b6b2b9c825ec484c9e76a22.zip
add size index for filecache
improves performance of #23004 Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/Migrations/Version13000Date20170718121200.php')
-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 f3129c22ca2..d86477b5ab9 100644
--- a/core/Migrations/Version13000Date20170718121200.php
+++ b/core/Migrations/Version13000Date20170718121200.php
@@ -225,6 +225,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
$table->addIndex(['storage', 'mimepart'], 'fs_storage_mimepart');
$table->addIndex(['storage', 'size', 'fileid'], 'fs_storage_size');
$table->addIndex(['mtime'], 'fs_mtime');
+ $table->addIndex(['size'], 'fs_size');
}
if (!$schema->hasTable('group_user')) {