You are here

function block_update_7007 in Drupal 7

Change {block_custom}.format into varchar.

Related topics

File

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.',
  ));
}