function views_update_6013 in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 views.install \views_update_6013()
- 7.3 views.install \views_update_6013()
Add a drupal core version field.
File
- ./
views.install, line 506 - 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;
}