Merge branch 'MDL-83985-int-fix' of https://github.com/HuongNV13/moodle
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<XMLDB PATH="lib/db" VERSION="20250414" COMMENT="XMLDB file for core Moodle tables"
|
||||
<XMLDB PATH="lib/db" VERSION="20250521" COMMENT="XMLDB file for core Moodle tables"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="../../lib/xmldb/xmldb.xsd"
|
||||
>
|
||||
@@ -2144,7 +2144,7 @@
|
||||
<FIELD NAME="loggeduser" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false" COMMENT="the userid of the person who last modified this outcome"/>
|
||||
<FIELD NAME="courseid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false" COMMENT="The course this item is part of"/>
|
||||
<FIELD NAME="categoryid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false" COMMENT="(optional) the category group this item belongs to"/>
|
||||
<FIELD NAME="itemname" TYPE="char" LENGTH="255" NOTNULL="false" SEQUENCE="false" COMMENT="The name of this item (pushed in by the module)"/>
|
||||
<FIELD NAME="itemname" TYPE="char" LENGTH="1333" NOTNULL="false" SEQUENCE="false" COMMENT="The name of this item (pushed in by the module)"/>
|
||||
<FIELD NAME="itemtype" TYPE="char" LENGTH="30" NOTNULL="true" SEQUENCE="false" COMMENT="'mod', 'blocks', 'import', 'calculated' etc"/>
|
||||
<FIELD NAME="itemmodule" TYPE="char" LENGTH="30" NOTNULL="false" SEQUENCE="false" COMMENT="'forum', 'quiz', 'csv', etc"/>
|
||||
<FIELD NAME="iteminstance" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false" COMMENT="id of the item module"/>
|
||||
|
||||
+9
-2
@@ -1684,7 +1684,7 @@ function xmldb_main_upgrade($oldversion) {
|
||||
// Automatically generated Moodle v5.0.0 release upgrade line.
|
||||
// Put any upgrade step following this.
|
||||
|
||||
if ($oldversion < 2025051600.01) {
|
||||
if ($oldversion < 2025051600.02) {
|
||||
|
||||
// Changing precision of field name on table badge to (1333).
|
||||
|
||||
@@ -1718,8 +1718,15 @@ function xmldb_main_upgrade($oldversion) {
|
||||
// Launch change of precision for field itemname.
|
||||
$dbman->change_field_precision($table, $field);
|
||||
|
||||
// Changing precision of field itemname on table grade_items_history to (1333).
|
||||
$table = new xmldb_table('grade_items_history');
|
||||
$field = new xmldb_field('itemname', XMLDB_TYPE_CHAR, '1333', null, null, null, null, 'categoryid');
|
||||
|
||||
// Launch change of precision for field itemname.
|
||||
$dbman->change_field_precision($table, $field);
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2025051600.01);
|
||||
upgrade_main_savepoint(true, 2025051600.02);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2025051600.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2025051600.02; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '5.1dev (Build: 20250516)'; // Human-friendly version name
|
||||
|
||||
Reference in New Issue
Block a user