summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dav/lib/Migration/Version1004Date20170924124212.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/Migration/Version1004Date20170924124212.php b/apps/dav/lib/Migration/Version1004Date20170924124212.php
index 58e2242f950..0f24f8c30af 100644
--- a/apps/dav/lib/Migration/Version1004Date20170924124212.php
+++ b/apps/dav/lib/Migration/Version1004Date20170924124212.php
@@ -43,6 +43,7 @@ class Version1004Date20170924124212 extends SimpleMigrationStep {
$table = $schema->getTable('cards');
$table->addIndex(['addressbookid'], 'cards_abid');
+ $table->addIndex(['addressbookid', 'uri'], 'cards_abiduri');
$table = $schema->getTable('cards_properties');
$table->addIndex(['addressbookid'], 'cards_prop_abid');