diff --git a/apps/dav/lib/Migration/Version1004Date20170924124212.php b/apps/dav/lib/Migration/Version1004Date20170924124212.php index 58e2242f9502f..0f24f8c30afd1 100644 --- a/apps/dav/lib/Migration/Version1004Date20170924124212.php +++ b/apps/dav/lib/Migration/Version1004Date20170924124212.php @@ -43,6 +43,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op $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');