function taxonomy_update_7009

Change {taxonomy_term_data}.format into varchar.

File

modules/taxonomy/taxonomy.install, line 877

Code

function taxonomy_update_7009() {
    db_change_field('taxonomy_term_data', 'format', 'format', array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => FALSE,
        'description' => 'The {filter_format}.format of the description.',
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.