diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.install')
-rw-r--r-- | modules/taxonomy/taxonomy.install | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install index 12e99c687..fb3f0ff1b 100644 --- a/modules/taxonomy/taxonomy.install +++ b/modules/taxonomy/taxonomy.install @@ -257,7 +257,7 @@ function taxonomy_schema() { ), ); - $schema['vocabulary_node_types'] = array( + $schema['vocabulary_node_type'] = array( 'description' => 'Stores which node types vocabularies may be used with.', 'fields' => array( 'vid' => array( @@ -284,3 +284,11 @@ function taxonomy_schema() { return $schema; } +/** + * Rename {vocabulary_node_types} table to {vocabulary_node_type}. + */ +function taxonomy_update_7001() { + $ret = array(); + db_rename_table($ret, 'vocabulary_node_types', 'vocabulary_node_type'); + return $ret; +} |