summaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version13000Date20170718121200.php
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-02-15 15:57:44 +0100
committerSimon L. (Rebase PR Action) <szaimen@e.mail.de>2023-03-20 15:02:23 +0000
commitbda66f9fb655df2da674778109251585f9f51a22 (patch)
tree702152fb23137574e10a5d8535a4501f16e6f7a9 /core/Migrations/Version13000Date20170718121200.php
parenta3ca6be4d1b80e358c6b42d271f61d7b328897a3 (diff)
downloadnextcloud-server-bda66f9fb655df2da674778109251585f9f51a22.tar.gz
nextcloud-server-bda66f9fb655df2da674778109251585f9f51a22.zip
Add parent index on filecache
Signed-off-by: Louis Chemineau <louis@chmn.me>
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 5439998fce3..0924e0590d3 100644
--- a/core/Migrations/Version13000Date20170718121200.php
+++ b/core/Migrations/Version13000Date20170718121200.php
@@ -262,6 +262,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
$table->addIndex(['storage', 'mimepart'], 'fs_storage_mimepart');
$table->addIndex(['storage', 'size', 'fileid'], 'fs_storage_size');
$table->addIndex(['fileid', 'storage', 'size'], 'fs_id_storage_size');
+ $table->addIndex(['parent'], 'fs_parent');
$table->addIndex(['mtime'], 'fs_mtime');
$table->addIndex(['size'], 'fs_size');
if (!$schema->getDatabasePlatform() instanceof PostgreSQL94Platform) {