You are here

function views_schema_6008 in Views (for Drupal 7) 6.2

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

Add the primary key to views_display table.

File

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

Code

function views_schema_6008() {
  $schema = views_schema(__FUNCTION__);
  $schema['views_display']['primary key'] = array(
    'vid',
    'id',
  );
  return $schema;
}