1 views.install views_schema()

Implements hook_schema().

File

core/modules/views/views.install, line 17
Contains install and update functions for Views.

Code

function views_schema() {
  $schema['cache_views'] = backdrop_get_schema_unprocessed('system', 'cache');
  $schema['cache_views']['description'] = 'Cache table for Views to store loaded view configurations.';

  $schema['cache_views_data'] = backdrop_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;
}