You are here

function views_update_7301 in Views (for Drupal 7) 7.3

Enlarge the name column.

File

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

Code

function views_update_7301() {
  $new_field = array(
    'type' => 'varchar',
    'length' => '128',
    'default' => '',
    'not null' => TRUE,
    'description' => 'The unique name of the view. This is the primary field views are loaded from, and is used so that views may be internal and not necessarily in the database. May only be alphanumeric characters plus underscores.',
  );
  db_change_field('views_view', 'name', 'name', $new_field);
}