You are here

function views_schema in Views (for Drupal 7) 8.3

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

Implements hook_schema().

File

./views.install, line 20
Contains install and update functions for Views.

Code

function views_schema() {
  $schema['cache_views_info'] = drupal_get_schema_unprocessed('system', 'cache');
  $schema['cache_views_results'] = drupal_get_schema_unprocessed('system', 'cache');
  $schema['cache_views_results']['description'] = 'Cache table for views to store pre-rendered queries, results, and display output.';
  $schema['cache_views_results']['fields']['serialized']['default'] = 1;
  return $schema;
}