You are here

function views_update_6008 in Views (for Drupal 7) 7.3

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

Add the primary key to the views_display table.

File

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

Code

function views_update_6008() {
  db_add_primary_key('views_display', array(
    'vid',
    'id',
  ));
}