From 0b06c68b988410c49c9f4ffbf8c3160d4e9da2c7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 5 Dec 2008 12:50:28 +0000 Subject: - Patch #288039 by sun, ff1, agentrickard, fgm, ultimateboy: improved usability of the aliased URL admin page. --- modules/taxonomy/taxonomy.install | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.install') 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; +} -- cgit v1.2.3