function block_update_7009

Increase {block}.title length to 255 characters.

Related topics

File

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

Code

function block_update_7009() {
  db_change_field('block', 'title', 'title', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
    'description' => 'Custom title for the block. (Empty string will use block default title, <none> will remove the title, text will cause block to use specified title.)',
    'translatable' => TRUE,
  ));
}