Skip to content

Commit

Permalink
Merge pull request #25168 from nextcloud/fix/cards_abiduri
Browse files Browse the repository at this point in the history
Add cards_abiduri index on install
  • Loading branch information
MorrisJobke authored Jan 18, 2021
2 parents 7bba144 + 3d66d68 commit e9b5805
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/dav/lib/Migration/Version1004Date20170924124212.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit e9b5805

Please sign in to comment.