diff --git a/lib/db/install.xml b/lib/db/install.xml
index dda246b2840..516b751bb68 100644
--- a/lib/db/install.xml
+++ b/lib/db/install.xml
@@ -1179,7 +1179,7 @@
-
+
diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php
index 00f20b31d34..ad6cddcfd49 100644
--- a/lib/db/upgrade.php
+++ b/lib/db/upgrade.php
@@ -738,6 +738,19 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint($result, 2008082700);
}
+ if ($result && $oldversion < 2008082900) {
+
+ /// Changing precision of field parent_type on table mnet_rpc to (20)
+ $table = new xmldb_table('mnet_rpc');
+ $field = new xmldb_field('parent_type', XMLDB_TYPE_CHAR, '20', null, XMLDB_NOTNULL, null, null, null, null, 'xmlrpc_path');
+
+ /// Launch change of precision for field parent_type
+ $dbman->change_field_precision($table, $field);
+
+ /// Main savepoint reached
+ upgrade_main_savepoint($result, 2008082900);
+ }
+
return $result;
}
diff --git a/version.php b/version.php
index 581230faaa2..7745ab7c5cb 100644
--- a/version.php
+++ b/version.php
@@ -6,7 +6,7 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
- $version = 2008082702; // YYYYMMDD = date of the last version bump
+ $version = 2008082900; // YYYYMMDD = date of the last version bump
// XX = daily increments
$release = '2.0 dev (Build: 20080829)'; // Human-friendly version name