summaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-06-21 15:10:06 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-10 18:41:42 +0200
commita1ced608e42c321c0ee2eaccf3cdc32ea413541e (patch)
tree8f2944fd8031ccf5c3b4c679eb4c8bfa69a4e428 /core/Application.php
parent66506502fe1df998637174a3986214c0d9c91056 (diff)
downloadnextcloud-server-a1ced608e42c321c0ee2eaccf3cdc32ea413541e.tar.gz
nextcloud-server-a1ced608e42c321c0ee2eaccf3cdc32ea413541e.zip
fix(systemtags): Add missing systemtags index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php
index 2e354610154..592e0929666 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -243,6 +243,13 @@ class Application extends App {
$subject->addHintForMissingSubject($table->getName(), 'mounts_user_root_path_index');
}
}
+
+ if ($schema->hasTable('systemtag_object_mapping')) {
+ $table = $schema->getTable('systemtag_object_mapping');
+ if (!$table->hasIndex('systag_by_tagid')) {
+ $subject->addHintForMissingSubject($table->getName(), 'systag_by_tagid');
+ }
+ }
}
);