You are here

function views_update_6005 in Views (for Drupal 7) 7.3

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

File

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

Code

function views_update_6005() {
  $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('views_view', 'base_table', 'base_table', $new_field);
}