function views_schema_6004
3.x views.install | views_schema_6004() |
2.x views.install | views_schema_6004() |
Enlarge the views_object_cache.data column to prevent truncation and JS errors.
File
- ./
views.install, line 319 - 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;
}