diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-03-27 16:55:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 16:55:51 +0100 |
commit | 181fce8ba4d67dfbf269c11f03d9d94278436ed7 (patch) | |
tree | d4e324a89340a3e84ed7f3dd9663873f6600494f /apps | |
parent | 448699502851a60883faf5f0d5cea4a9855bec66 (diff) | |
parent | 592093079f35bab1b6311a58411881e122950e12 (diff) | |
download | nextcloud-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.php | 4 |
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; } |