summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-01-16 20:43:16 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-01-16 20:43:16 +0100
commit3d66d68327e299264579bbc29e012df884e3e012 (patch)
tree48a720d28bbaaf545013882bba831f0f185db11a /apps
parentc5ae29e9a39aa304ca602a202c39ef2a48bdced5 (diff)
downloadnextcloud-server-3d66d68327e299264579bbc29e012df884e3e012.tar.gz
nextcloud-server-3d66d68327e299264579bbc29e012df884e3e012.zip
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>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/Migration/Version1004Date20170924124212.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/Migration/Version1004Date20170924124212.php b/apps/dav/lib/Migration/Version1004Date20170924124212.php
index 58e2242f950..0f24f8c30af 100644
--- a/apps/dav/lib/Migration/Version1004Date20170924124212.php
+++ b/apps/dav/lib/Migration/Version1004Date20170924124212.php
@@ -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');