diff options
-rw-r--r-- | modules/system/system.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 10bda38f1..7aa12ff8b 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; } |