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:
authorJoas Schilling <coding@schilljs.com>2019-03-27 14:11:35 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-03-27 15:32:59 +0300
commit592093079f35bab1b6311a58411881e122950e12 (patch)
tree9b46e2fd01b609fd1f032fee83d88adce6782bb8 /core/Application.php
parent274658629d2f7e72de123a8763f2578f79cb3376 (diff)
Deduplicate index names
Signed-off-by: Joas Schilling <coding@schilljs.com>
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 1a7cf8aa10c..5ba07e2cb48 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -119,16 +119,16 @@ class Application extends App {
if ($schema->hasTable('cards')) {
$table = $schema->getTable('cards');
- if (!$table->hasIndex('addressbookid')) {
- $subject->addHintForMissingSubject($table->getName(), 'addressbookid');
+ if (!$table->hasIndex('cards_abid')) {
+ $subject->addHintForMissingSubject($table->getName(), 'cards_abid');
}
}
if ($schema->hasTable('cards_properties')) {
$table = $schema->getTable('cards_properties');
- if (!$table->hasIndex('addressbookid')) {
- $subject->addHintForMissingSubject($table->getName(), 'addressbookid');
+ if (!$table->hasIndex('cards_prop_abid')) {
+ $subject->addHintForMissingSubject($table->getName(), 'cards_prop_abid');
}
}
}