diff --git a/lib/db/install.xml b/lib/db/install.xml index e253b79a330..1f518c4f9b3 100644 --- a/lib/db/install.xml +++ b/lib/db/install.xml @@ -1,5 +1,5 @@ - @@ -2144,7 +2144,7 @@ - + diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index d8209a65ead..b4f0dade2d7 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -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; diff --git a/version.php b/version.php index 955fb8dad86..1129efc90d7 100644 --- a/version.php +++ b/version.php @@ -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