function taxonomy_update_7010

Change {taxonomy_index}.created to support signed int.

Archivo

drupal-7.x/modules/taxonomy/taxonomy.install, line 881
Install, update and uninstall functions for the taxonomy module.

Código

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