function views_update_6013 in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 views.install \views_update_6013()
- 6.2 views.install \views_update_6013()
1 call to views_update_6013()
- views_update_7300 in ./views.install
- Make sure the human_name field is added to the views_view table.
File
- ./views.install, line 515
- Contains install and update functions for Views.
Code
function views_update_6013() {
if (!db_field_exists('views_view', 'human_name')) {
$new_field = array(
'type' => 'varchar',
'length' => '255',
'default' => '',
'description' => 'A human readable name used to be displayed in the admin interface',
);
db_add_field('views_view', 'human_name', $new_field);
}
}