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:
Roeland Jago Douma 2021-01-16 20:43:16 +01:00
parent c5ae29e9a3
commit 3d66d68327
1 changed files with 1 additions and 0 deletions

View File

@ -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');