summaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-01 23:59:36 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-01 23:59:36 +0200
commitb82cbe04df59805e50d3762e6205c777aeff90a9 (patch)
tree8aefc7f58392767cd05b1bc1de82d0b4e745e885 /core/Application.php
parent28eaacd59fe67dda6ec7686dabecabff3bedae0f (diff)
downloadnextcloud-server-b82cbe04df59805e50d3762e6205c777aeff90a9.tar.gz
nextcloud-server-b82cbe04df59805e50d3762e6205c777aeff90a9.zip
Add uid_owner and uid_initiator share tabe indices
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php
index 336538187d7..5a8b6be089e 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -70,6 +70,12 @@ class Application extends App {
if (!$table->hasIndex('parent_index')) {
$subject->addHintForMissingSubject($table->getName(), 'parent_index');
}
+ if (!$table->hasIndex('uid_owner')) {
+ $subject->addHintForMissingSubject($table->getName(), 'uid_owner');
+ }
+ if (!$table->hasIndex('uid_initiator')) {
+ $subject->addHintForMissingSubject($table->getName(), 'uid_initiator');
+ }
}
if ($schema->hasTable('filecache')) {