diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-01 23:59:36 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-01 23:59:36 +0200 |
commit | b82cbe04df59805e50d3762e6205c777aeff90a9 (patch) | |
tree | 8aefc7f58392767cd05b1bc1de82d0b4e745e885 /core/Application.php | |
parent | 28eaacd59fe67dda6ec7686dabecabff3bedae0f (diff) | |
download | nextcloud-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.php | 6 |
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')) { |