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:
authorMorris Jobke <hey@morrisjobke.de>2018-11-06 17:20:39 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-11-06 17:21:16 +0300
commit4d20c4272f997c2f1a039cc90e81e395a3afad59 (patch)
tree90e1d3a5302e8a2de7e95da9d23403c8558052d7 /core/Application.php
parenta88e7d30f3f6aae438ed83ec8adb217c68a4f883 (diff)
Fix index names
* see #11527
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Application.php b/core/Application.php
index 5a8b6be089e..a65f1f3fa60 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -70,11 +70,11 @@ 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('owner_index')) {
+ $subject->addHintForMissingSubject($table->getName(), 'owner_index');
}
- if (!$table->hasIndex('uid_initiator')) {
- $subject->addHintForMissingSubject($table->getName(), 'uid_initiator');
+ if (!$table->hasIndex('initiator_index')) {
+ $subject->addHintForMissingSubject($table->getName(), 'initiator_index');
}
}