function 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 536

Code

function views_update_6013() {
    // Check because D6 installs may already have added this.
    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);
    }
}