function views_update_6005 in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 views.install \views_update_6005()
- 7.3 views.install \views_update_6005()
File
- ./
views.install, line 344 - views.install Contains install and update functions for Views.
Code
function views_update_6005() {
$ret = array();
$new_field = array(
'type' => 'varchar',
'length' => '64',
'default' => '',
'not null' => TRUE,
'description' => 'What table this view is based on, such as node, user, comment, or term.',
);
db_change_field($ret, 'views_view', 'base_table', 'base_table', $new_field);
return $ret;
}