function block_update_7006
7.x block.install | block_update_7006() |
Recreates cache_block table.
Converts fields that hold serialized variables from text to blob. Removes 'headers' column.
Related topics
File
- drupal-7.x/
modules/ block/ block.install, line 440 - Install, update and uninstall functions for the block module.
Code
function block_update_7006() {
$schema = system_schema_cache_7054();
db_drop_table('cache_block');
db_create_table('cache_block', $schema);
}