You are here

function views_update_6008 in Views (for Drupal 7) 6.3

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

Add the primary key to the views_display table.

File

./views.install, line 407
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;
}