diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-05 12:50:28 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-05 12:50:28 +0000 |
commit | 0b06c68b988410c49c9f4ffbf8c3160d4e9da2c7 (patch) | |
tree | f0dc6e87c58f3e0f7315e2808ab88a2f81ba1c52 /modules/taxonomy/taxonomy.install | |
parent | 4e9d1f7d1c97600113edc7bba3f49b59d0bdcb20 (diff) | |
download | brdo-0b06c68b988410c49c9f4ffbf8c3160d4e9da2c7.tar.gz brdo-0b06c68b988410c49c9f4ffbf8c3160d4e9da2c7.tar.bz2 |
- Patch #288039 by sun, ff1, agentrickard, fgm, ultimateboy: improved usability of the aliased URL admin page.
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; +} |