summaryrefslogtreecommitdiffstats
path: root/core/Application.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/Application.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/Application.php')
-rw-r--r--core/Application.php4
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')) {