summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-03-27 16:55:51 +0100
committerGitHub <noreply@github.com>2019-03-27 16:55:51 +0100
commit181fce8ba4d67dfbf269c11f03d9d94278436ed7 (patch)
treed4e324a89340a3e84ed7f3dd9663873f6600494f /apps
parent448699502851a60883faf5f0d5cea4a9855bec66 (diff)
parent592093079f35bab1b6311a58411881e122950e12 (diff)
downloadnextcloud-server-181fce8ba4d67dfbf269c11f03d9d94278436ed7.tar.gz
nextcloud-server-181fce8ba4d67dfbf269c11f03d9d94278436ed7.zip
Merge pull request #14878 from nextcloud/bugfix/noid/name-all-indexes
Make sure all tables have named indexes
Diffstat (limited to 'apps')
-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..7a87f6d2b04 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'], 'cards_abid');
$table = $schema->getTable('cards_properties');
- $table->addIndex(['addressbookid']);
+ $table->addIndex(['addressbookid'], 'cards_prop_abid');
return $schema;
}