Merge pull request #25168 from nextcloud/fix/cards_abiduri
Add cards_abiduri index on install
This commit is contained in:
commit
e9b5805e6c
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue