1 block.install | block_update_1003() |
Increase {block_custom}.title length to 255 characters.
Related topics
File
- core/
modules/ block/ block.install, line 77 - Install, update and uninstall functions for the block module.
Code
function block_update_1003() {
db_change_field('block_custom', '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,
)
);
}