You are here

function views_schema_6004 in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 views.install \views_schema_6004()
  2. 7.3 views.install \views_schema_6004()

Enlarge the views_object_cache.data column to prevent truncation and JS errors.

File

./views.install, line 313
views.install Contains install and update functions for Views.

Code

function views_schema_6004() {
  $schema = views_schema(__FUNCTION__);
  $schema['views_object_cache']['fields']['data']['type'] = 'text';
  $schema['views_object_cache']['fields']['data']['size'] = 'big';
  return $schema;
}