diff options
author | Louis Chemineau <louis@chmn.me> | 2023-02-15 15:57:44 +0100 |
---|---|---|
committer | Louis (Rebase PR Action) <artonge@users.noreply.github.com> | 2023-03-22 14:50:40 +0000 |
commit | 88fa9cb4ea8fb36e6f86488db179e1d31f1d593c (patch) | |
tree | 9339d096ee09c9b2e3eaa60bd9243c30d3bf2b76 /core/Migrations/Version13000Date20170718121200.php | |
parent | 3fb8c353447275f84a49ddc01f93deac8ec09e88 (diff) | |
download | nextcloud-server-88fa9cb4ea8fb36e6f86488db179e1d31f1d593c.tar.gz nextcloud-server-88fa9cb4ea8fb36e6f86488db179e1d31f1d593c.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.php | 1 |
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) { |