You are here

function update_update_7001 in Drupal 7

Recreates cache_update table.

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

Related topics

File

modules/update/update.install, line 181
Install, update, and uninstall functions for the Update Manager module.

Code

function update_update_7001() {
  $schema = system_schema_cache_7054();
  db_drop_table('cache_update');
  db_create_table('cache_update', $schema);
}