? sites/default/modules ? sites/default/settings.php Index: modules/node/node.install =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.install,v retrieving revision 1.7 diff -u -p -r1.7 node.install --- modules/node/node.install 8 Oct 2008 03:27:56 -0000 1.7 +++ modules/node/node.install 8 Oct 2008 19:38:24 -0000 @@ -241,14 +241,14 @@ function node_schema() { ), 'body' => array( 'description' => t('The body of this version.'), - 'type' => 'text', - 'not null' => TRUE, + 'type' => 'blob', + 'not null' => FALSE, 'size' => 'big', ), 'teaser' => array( 'description' => t('The teaser of this version.'), - 'type' => 'text', - 'not null' => TRUE, + 'type' => 'blob', + 'not null' => FALSE, 'size' => 'big', ), 'log' => array( @@ -398,5 +398,16 @@ function node_update_7000() { } /** + * Remap {node_revisions}.body and {node_revisions}.teaser as BLOB type. + */ +function node_update_7001() { + $ret = array(); + db_change_field($ret, 'node_revisions', 'body', 'body', array('type' => 'blob', 'not null' => FALSE, 'size' => 'big')); + db_change_field($ret, 'node_revisions', 'teaser', 'teaser', array('type' => 'blob', 'not null' => FALSE, 'size' => 'big')); + + return $ret; +} + +/** * End of 6.x to 7.x updates */