You are here

function views_schema_6006 in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 views.install \views_schema_6006()
  2. 6.2 views.install \views_schema_6006()

Add the cache_views_data table to support standard caching.

File

./views.install, line 364
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;
}