From 9502260ecf33a4b345794eea2d0b6e6dff5dbd74 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 4 Sep 2010 15:40:52 +0000 Subject: - Patch #902264 by Damien Tournoud: move hook_field_schema() to .install files so we can get the upgrade path to work. --- modules/taxonomy/taxonomy.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'modules/taxonomy/taxonomy.install') diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install index cc2512206..86171b77d 100644 --- a/modules/taxonomy/taxonomy.install +++ b/modules/taxonomy/taxonomy.install @@ -221,6 +221,24 @@ function taxonomy_schema() { return $schema; } +/** + * Implements hook_field_schema(). + */ +function taxonomy_field_schema($field) { + return array( + 'columns' => array( + 'tid' => array( + 'type' => 'int', + 'unsigned' => TRUE, + 'not null' => FALSE, + ), + ), + 'indexes' => array( + 'tid' => array('tid'), + ), + ); +} + /** * Implements hook_update_dependencies(). */ -- cgit v1.2.3