You are here

function block_update_7006 in Drupal 7

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
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);
}