function update_update_7001

7.x update.install update_update_7001()

Recreates cache_update table.

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

Related topics

File

drupal-7.x/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);
}