You are here

function views_update_6012 in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 views.install \views_update_6012()
1 call to views_update_6012()
views_update_6300 in ./views.install
Take sure the human_name field is added to the views_view table.

File

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

Code

function views_update_6012() {
  $ret = array();
  $new_field = array(
    'type' => 'varchar',
    'length' => '255',
    'default' => '',
    'description' => 'A human readable name used to be displayed in the admin interface',
  );
  db_add_field($ret, 'views_view', 'human_name', $new_field);
  return $ret;
}