summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-01-18 13:35:20 +0100
committerGitHub <noreply@github.com>2021-01-18 13:35:20 +0100
commite9b5805e6c80ff2ccba7f6eb5f9213dce7e756e0 (patch)
tree9efc0634b52f8de0e81c686ed6b0572bfe0a0251 /apps/dav
parent7bba1441b9f1d26fc64677ae88b2330dfb71f488 (diff)
parent3d66d68327e299264579bbc29e012df884e3e012 (diff)
downloadnextcloud-server-e9b5805e6c80ff2ccba7f6eb5f9213dce7e756e0.tar.gz
nextcloud-server-e9b5805e6c80ff2ccba7f6eb5f9213dce7e756e0.zip
Merge pull request #25168 from nextcloud/fix/cards_abiduri
Add cards_abiduri index on install
Diffstat (limited to 'apps/dav')
-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');