summaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-04-13 17:19:26 +0200
committerRobin Appelman <robin@icewind.nl>2023-04-28 15:08:08 +0200
commitdb43d903877a8b90b78cafb404b1e7101bfb2c15 (patch)
treeca3d18310a9418cee5368550ad2e42085206fa9d /core/Application.php
parentf5e2b0b22f51cdb67c06c368e921052d25aacc2e (diff)
downloadnextcloud-server-db43d903877a8b90b78cafb404b1e7101bfb2c15.tar.gz
nextcloud-server-db43d903877a8b90b78cafb404b1e7101bfb2c15.zip
add new index in repair step instead of on-migrate
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php
index 4ebbada95e6..2e354610154 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -239,6 +239,9 @@ class Application extends App {
if (!$table->hasIndex('mounts_class_index')) {
$subject->addHintForMissingSubject($table->getName(), 'mounts_class_index');
}
+ if (!$table->hasIndex('mounts_user_root_path_index')) {
+ $subject->addHintForMissingSubject($table->getName(), 'mounts_user_root_path_index');
+ }
}
}
);