function views_update_6008 in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 views.install \views_update_6008()
- 7.3 views.install \views_update_6008()
Add the primary key to the views_display table.
File
- ./
views.install, line 406 - views.install Contains install and update functions for Views.
Code
function views_update_6008() {
$ret = array();
db_add_primary_key($ret, 'views_display', array(
'vid',
'id',
));
return $ret;
}