function taxonomy_update_7010

Change {taxonomy_index}.created to support signed int.

File

modules/taxonomy/taxonomy.install, line 889

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

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