You are here

function views_update_6005 in Views (for Drupal 7) 6.3

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

File

./views.install, line 345
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;
}