summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Migration
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 /apps/dav/lib/Migration
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 'apps/dav/lib/Migration')
-rw-r--r--apps/dav/lib/Migration/Version1004Date20170924124212.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Migration/Version1004Date20170924124212.php b/apps/dav/lib/Migration/Version1004Date20170924124212.php
index 5a684b6a926..7a87f6d2b04 100644
--- a/apps/dav/lib/Migration/Version1004Date20170924124212.php
+++ b/apps/dav/lib/Migration/Version1004Date20170924124212.php
@@ -40,10 +40,10 @@ class Version1004Date20170924124212 extends SimpleMigrationStep {
$schema = $schemaClosure();
$table = $schema->getTable('cards');
- $table->addIndex(['addressbookid'], 'addressbookid');
+ $table->addIndex(['addressbookid'], 'cards_abid');
$table = $schema->getTable('cards_properties');
- $table->addIndex(['addressbookid'], 'addressbookid');
+ $table->addIndex(['addressbookid'], 'cards_prop_abid');
return $schema;
}