summaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-03-27 12:11:35 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-03-27 13:32:59 +0100
commit592093079f35bab1b6311a58411881e122950e12 (patch)
tree9b46e2fd01b609fd1f032fee83d88adce6782bb8 /core/Application.php
parent274658629d2f7e72de123a8763f2578f79cb3376 (diff)
downloadnextcloud-server-592093079f35bab1b6311a58411881e122950e12.tar.gz
nextcloud-server-592093079f35bab1b6311a58411881e122950e12.zip
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');
}
}
}