Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-02 00:59:36 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-02 00:59:36 +0300
commitb82cbe04df59805e50d3762e6205c777aeff90a9 (patch)
tree8aefc7f58392767cd05b1bc1de82d0b4e745e885 /core/Application.php
parent28eaacd59fe67dda6ec7686dabecabff3bedae0f (diff)
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')) {