diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.install')
-rw-r--r-- | modules/taxonomy/taxonomy.install | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install index 4b5663ffd..15103ae48 100644 --- a/modules/taxonomy/taxonomy.install +++ b/modules/taxonomy/taxonomy.install @@ -196,7 +196,6 @@ function taxonomy_schema() { 'created' => array( 'description' => 'The Unix timestamp when the node was created.', 'type' => 'int', - 'unsigned' => TRUE, 'not null' => TRUE, 'default'=> 0, ), @@ -548,7 +547,7 @@ function taxonomy_update_7005(&$sandbox) { // in this array but a term_node relationship exists mapping a // term in voc id to node of that type, the relationship is // assigned to the taxonomymyextra field which allows terms of all - // vocabularies. + // vocabularies. // - cursor[values], cursor[deltas]: The contents of $values and // $deltas at the end of the previous call to this function. These // need to be preserved across calls because a single batch of @@ -806,3 +805,16 @@ function taxonomy_update_7009() { )); } +/** + * Change {taxonomy_index}.created to support signed int. +*/ +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, + )); +} + |