1 views.install views_update_1006()

Remove headers field from cache tables.

See also

https://www.drupal.org/node/1154830.

Related topics

File

core/modules/views/views.install, line 179
Contains install and update functions for Views.

Code

function views_update_1006() {
  if (db_field_exists('cache_views', 'headers')) {
    db_drop_field('cache_views', 'headers');
  }
  if (db_field_exists('cache_views_data', 'headers')) {
    db_drop_field('cache_views_data', 'headers');
  }
}