function views_schema_6008 in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 views.install \views_schema_6008()
- 6.2 views.install \views_schema_6008()
Add the primary key to views_display table.
File
- ./
views.install, line 394 - 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;
}