function views_schema_6006

Same name in other branches
  1. 6.x-3.x views.install \views_schema_6006()

Add the cache_views_data table to support standard caching.

File

./views.install, line 376

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