function views_schema_6006 in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 views.install \views_schema_6006()
- 7.3 views.install \views_schema_6006()
Add the cache_views_data table to support standard caching.
File
- ./
views.install, line 362 - views.install 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;
}