function views_schema_6004

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

File

./views.install, line 326

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;
}