? 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 14 Oct 2008 17:42:37 -0000 @@ -241,13 +241,13 @@ function node_schema() { ), 'body' => array( 'description' => t('The body of this version.'), - 'type' => 'text', + 'type' => 'blob', 'not null' => TRUE, 'size' => 'big', ), 'teaser' => array( 'description' => t('The teaser of this version.'), - 'type' => 'text', + 'type' => 'blob', 'not null' => TRUE, 'size' => 'big', ), @@ -398,5 +398,15 @@ 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' => TRUE, 'size' => 'big')); + db_change_field($ret, 'node_revisions', 'teaser', 'teaser', array('type' => 'blob', 'not null' => TRUE, 'size' => 'big')); + return $ret; +} + +/** * End of 6.x to 7.x updates */