You are here

function taxonomy_update_7009 in Drupal 7

Change {taxonomy_term_data}.format into varchar.

File

modules/taxonomy/taxonomy.install, line 877
Install, update and uninstall functions for the taxonomy module.

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.',
  ));
}