You are here

function views_update_6013 in Views (for Drupal 7) 6.3

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

Add a drupal core version field.

File

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

Code

function views_update_6013() {
  $ret = array();
  $new_field = array(
    'type' => 'int',
    'default' => 0,
    'description' => 'Stores the drupal core version of the view.',
  );
  db_add_field($ret, 'views_view', 'core', $new_field);
  return $ret;
}