=== modified file 'modules/taxonomy/taxonomy.install' --- modules/taxonomy/taxonomy.install 2009-06-12 13:59:56 +0000 +++ modules/taxonomy/taxonomy.install 2009-06-13 19:42:46 +0000 @@ -12,6 +12,26 @@ function taxonomy_install() { // Create tables. drupal_install_schema('taxonomy'); + + // Create term_concept_uri field. + $field = array( + 'field_name' => 'term_concept_uri', + 'type' => 'text', + ); + field_create_field($field); + + $instance = array( + 'field_name' => 'term_concept_uri', + 'bundle' => 'tags', + 'label' => t('Concept URI'), + 'description' => t('URI of the concept this term represents'), + 'weight' => 0, + 'widget' => array( + 'type' => 'text_textfield', + 'label' => t('Concept URI'), + ), + ); + field_create_instance($instance); } /** @@ -24,6 +44,9 @@ // Remove variables. variable_del('taxonomy_override_selector'); variable_del('taxonomy_terms_per_page_admin'); + + // Remove fields. + field_delete_instance('term_concept_uri', 'tags'); } /**