diff --git a/lib/db/install.xml b/lib/db/install.xml
index 2658d15e734..e253b79a330 100644
--- a/lib/db/install.xml
+++ b/lib/db/install.xml
@@ -1991,7 +1991,7 @@
-
+
diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php
index bc8a5c39475..d8209a65ead 100644
--- a/lib/db/upgrade.php
+++ b/lib/db/upgrade.php
@@ -1710,6 +1710,14 @@ function xmldb_main_upgrade($oldversion) {
// Launch change of precision for field name.
$dbman->change_field_precision($table, $field);
+ // Changing precision of field itemname on table grade_items to (1333).
+
+ $table = new xmldb_table('grade_items');
+ $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);
}
diff --git a/version.php b/version.php
index 8c4d98a0083..955fb8dad86 100644
--- a/version.php
+++ b/version.php
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
-$version = 2025051600.00; // YYYYMMDD = weekly release date of this DEV branch.
+$version = 2025051600.01; // 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