function block_update_7007

Change {block_custom}.format into varchar.

Related topics

File

modules/block/block.install, line 450

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.