function block_update_7006

Recreates cache_block table.

Converts fields that hold serialized variables from text to blob. Removes 'headers' column.

Related topics

File

modules/block/block.install, line 440

Code

function block_update_7006() {
    $schema = system_schema_cache_7054();
    db_drop_table('cache_block');
    db_create_table('cache_block', $schema);
}

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