aboutsummaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-05-02 15:40:47 +0200
committerGitHub <noreply@github.com>2023-05-02 15:40:47 +0200
commit8f1e7118589be4fae6a5fca048a15fdfffeba7a3 (patch)
treec20249aa43ca6fe6d1244b5608b188bdde24b6bb /core/Application.php
parent436a08893b6cfbd81ba231bd5df787f4b0bd3874 (diff)
parentdb43d903877a8b90b78cafb404b1e7101bfb2c15 (diff)
downloadnextcloud-server-8f1e7118589be4fae6a5fca048a15fdfffeba7a3.tar.gz
nextcloud-server-8f1e7118589be4fae6a5fca048a15fdfffeba7a3.zip
Merge pull request #32877 from nextcloud/mount-cache-unique-mountpoint
allow storing multiple mounts for the same rootid in the mount cache
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');
+ }
}
}
);