You are here

function taxonomy_update_7010 in Drupal 7

Change {taxonomy_index}.created to support signed int.

File

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

Code

function taxonomy_update_7010() {
  db_change_field('taxonomy_index', 'created', 'created', array(
    'description' => 'The Unix timestamp when the node was created.',
    'type' => 'int',
    'unsigned' => FALSE,
    'not null' => TRUE,
    'default' => 0,
  ));
}