MDL-41269 add standard log table indexes

This commit is contained in:
Petr Škoda 2014-02-11 14:48:17 +08:00
parent 35adf145dd
commit 0532c5852e
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="admin/tool/log/store/standard/db" VERSION="20140130" COMMENT="XMLDB file for Moodle admin/tool/log/store/standard"
<XMLDB PATH="admin/tool/log/store/standard/db" VERSION="20140211" COMMENT="XMLDB file for Moodle admin/tool/log/store/standard"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../../lib/xmldb/xmldb.xsd"
>
@ -32,6 +32,11 @@
</KEYS>
<INDEXES>
<INDEX NAME="timecreated" UNIQUE="false" FIELDS="timecreated"/>
<INDEX NAME="contextid-component" UNIQUE="false" FIELDS="contextid, component"/>
<INDEX NAME="userid-contextid" UNIQUE="false" FIELDS="userid, contextid"/>
<INDEX NAME="eventname" UNIQUE="false" FIELDS="eventname"/>
<INDEX NAME="crud" UNIQUE="false" FIELDS="crud"/>
<INDEX NAME="edulevel" UNIQUE="false" FIELDS="edulevel"/>
</INDEXES>
</TABLE>
</TABLES>

View File

@ -24,6 +24,6 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2014013000; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2014021100; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2014012400; // Requires this Moodle version.
$plugin->component = 'logstore_standard'; // Full name of the plugin (used for diagnostics).