function views_schema_6006
3.x views.install | views_schema_6006() |
2.x views.install | views_schema_6006() |
Add the cache_views_data table to support standard caching.
File
- ./
views.install, line 361 - Contains install and update functions for Views.
Code
function views_schema_6006() {
$schema = views_schema(__FUNCTION__);
$schema['cache_views_data'] = drupal_get_schema_unprocessed('system', 'cache');
$schema['cache_views_data']['description'] = 'Cache table for views to store pre-rendered queries, results, and display output.';
$schema['cache_views_data']['fields']['serialized']['default'] = 1;
return $schema;
}