summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-03-27 11:42:33 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-03-27 13:32:59 +0100
commit274658629d2f7e72de123a8763f2578f79cb3376 (patch)
tree4af81fdbc7c3440f9657b24fe46037a23f741a46 /apps/dav
parent86594e8c18123db6696f4cedfc0578d036ad5dd6 (diff)
downloadnextcloud-server-274658629d2f7e72de123a8763f2578f79cb3376.tar.gz
nextcloud-server-274658629d2f7e72de123a8763f2578f79cb3376.zip
Make sure all tables have named indexes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/Migration/Version1004Date20170924124212.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Migration/Version1004Date20170924124212.php b/apps/dav/lib/Migration/Version1004Date20170924124212.php
index e3f509b2a71..5a684b6a926 100644
--- a/apps/dav/lib/Migration/Version1004Date20170924124212.php
+++ b/apps/dav/lib/Migration/Version1004Date20170924124212.php
@@ -40,10 +40,10 @@ class Version1004Date20170924124212 extends SimpleMigrationStep {
$schema = $schemaClosure();
$table = $schema->getTable('cards');
- $table->addIndex(['addressbookid']);
+ $table->addIndex(['addressbookid'], 'addressbookid');
$table = $schema->getTable('cards_properties');
- $table->addIndex(['addressbookid']);
+ $table->addIndex(['addressbookid'], 'addressbookid');
return $schema;
}