Add cards_abiduri index on install
Else we directly tell the admin to add this on install. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
c5ae29e9a3
commit
3d66d68327
|
@ -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