diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-07 14:18:07 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-07 14:18:07 +0000 |
commit | 9e373e76f912615f675301838680c6b47795e499 (patch) | |
tree | b5240a79961adfac4cbc5a6cc29f6c6433e6fbe2 /modules/taxonomy/taxonomy.install | |
parent | 35ff7005f4bb751e19509a3d9887d2fc455fada9 (diff) | |
download | brdo-9e373e76f912615f675301838680c6b47795e499.tar.gz brdo-9e373e76f912615f675301838680c6b47795e499.tar.bz2 |
#625460 by sun: Add input format to taxonomy term descriptions.
Diffstat (limited to 'modules/taxonomy/taxonomy.install')
-rw-r--r-- | modules/taxonomy/taxonomy.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install index 148322000..f641549e9 100644 --- a/modules/taxonomy/taxonomy.install +++ b/modules/taxonomy/taxonomy.install @@ -50,6 +50,13 @@ function taxonomy_schema() { 'description' => 'A description of the term.', 'translatable' => TRUE, ), + 'format' => array( + 'type' => 'int', + 'size' => 'small', + 'not null' => TRUE, + 'default' => 0, + 'description' => 'The {filter_format}.format of the description.', + ), 'weight' => array( 'type' => 'int', 'not null' => TRUE, @@ -407,3 +414,17 @@ function taxonomy_update_7005(&$sandbox) { db_drop_table('taxonomy_term_node'); } } + +/** + * Add vocabulary machine_name column. + */ +function taxonomy_update_7006() { + db_add_field('taxonomy_term_data', 'format', array( + 'type' => 'int', + 'size' => 'small', + 'not null' => TRUE, + 'default' => 0, + 'description' => 'The {filter_format}.format of the description.', + )); +} + |