Skip to content
Permalink
Browse files

Merge branch 'MDL-63280_master-fix' of git://github.com/markn86/moodle

  • Loading branch information...
andrewnicols committed Oct 26, 2018
2 parents 56076d5 + 06cdb82 commit 79b5095f28fa693dc28618c91e8fc9df6b4803fc
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/db/install.xml
  2. +1 −1 lib/db/upgrade.php
@@ -634,7 +634,7 @@
<INDEXES>
<INDEX NAME="type" UNIQUE="false" FIELDS="type"/>
<INDEX NAME="convhash" UNIQUE="false" FIELDS="convhash"/>
<INDEX NAME="component-itemtype-contextid-itemid" UNIQUE="false" FIELDS="component, itemtype, contextid, itemid"/>
<INDEX NAME="component-itemtype-itemid-contextid" UNIQUE="false" FIELDS="component, itemtype, itemid, contextid"/>
</INDEXES>
</TABLE>
<TABLE NAME="message_conversation_members" COMMENT="Stores all members in a conversations">
@@ -2643,7 +2643,7 @@ function xmldb_main_upgrade($oldversion) {
$dbman->add_key($table, $key);
// Add index.
$index = new xmldb_index('component-itemtype-contextid-itemid', XMLDB_INDEX_NOTUNIQUE, ['component', 'itemtype',
$index = new xmldb_index('component-itemtype-itemid-contextid', XMLDB_INDEX_NOTUNIQUE, ['component', 'itemtype',
'itemid', 'contextid']);
if (!$dbman->index_exists($table, $index)) {
$dbman->add_index($table, $index);

0 comments on commit 79b5095

Please sign in to comment.
You can’t perform that action at this time.