function block_update_7007

Change {block_custom}.format into varchar.

Related topics

File

drupal/modules/block/block.install, line 450
Install, update and uninstall functions for the block module.

Code

function block_update_7007() {
  db_change_field('block_custom', 'format', 'format', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => FALSE,
    'description' => 'The {filter_format}.format of the block body.',
  ));
}