diff --git a/modules/system/system.install b/modules/system/system.install index 10bda38f17e..7aa12ff8b1d 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3433,8 +3433,8 @@ function system_update_6024() { */ function system_update_6025() { $ret = array(); - db_update_field($ret, 'node', 'title'); - db_update_field($ret, 'node_revisions', 'title'); + db_change_field($ret, 'node', 'title', 'title', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '')); + db_change_field($ret, 'node_revisions', 'title', 'title', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '')); return $ret; }