diff options
author | Louis Chemineau <louis@chmn.me> | 2023-02-15 15:57:44 +0100 |
---|---|---|
committer | Simon L. (Rebase PR Action) <szaimen@e.mail.de> | 2023-03-20 15:02:23 +0000 |
commit | bda66f9fb655df2da674778109251585f9f51a22 (patch) | |
tree | 702152fb23137574e10a5d8535a4501f16e6f7a9 /core/Application.php | |
parent | a3ca6be4d1b80e358c6b42d271f61d7b328897a3 (diff) | |
download | nextcloud-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/Application.php')
-rw-r--r-- | core/Application.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php index 6b3d7d6e0c7..4ebbada95e6 100644 --- a/core/Application.php +++ b/core/Application.php @@ -132,6 +132,10 @@ class Application extends App { if (!$table->hasIndex('fs_storage_path_prefix') && !$schema->getDatabasePlatform() instanceof PostgreSQL94Platform) { $subject->addHintForMissingSubject($table->getName(), 'fs_storage_path_prefix'); } + + if (!$table->hasIndex('fs_parent')) { + $subject->addHintForMissingSubject($table->getName(), 'fs_parent'); + } } if ($schema->hasTable('twofactor_providers')) { |