summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-20 15:57:42 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-20 15:57:42 +0000
commit816752c5f907ccd3c7b72c230fba7031076f4723 (patch)
tree9df6fd907716c92a34b6f409582af599da202b6c /modules/taxonomy/taxonomy.install
parent7cf3518b64b40ba08fdf605d7f72e19b9e8b9841 (diff)
downloadbrdo-816752c5f907ccd3c7b72c230fba7031076f4723.tar.gz
brdo-816752c5f907ccd3c7b72c230fba7031076f4723.tar.bz2
#934050 follow-up by sun: Fix broken upgrade path.
Diffstat (limited to 'modules/taxonomy/taxonomy.install')
-rw-r--r--modules/taxonomy/taxonomy.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install
index dd97edde4..8c2de3f86 100644
--- a/modules/taxonomy/taxonomy.install
+++ b/modules/taxonomy/taxonomy.install
@@ -258,6 +258,11 @@ function taxonomy_update_dependencies() {
$dependencies['node'][7006] = array(
'taxonomy' => 7002,
);
+ // Ensure that format columns are only changed after Filter module has changed
+ // the primary records.
+ $dependencies['taxonomy'][7009] = array(
+ 'filter' => 7010,
+ );
return $dependencies;
}
@@ -782,3 +787,16 @@ function taxonomy_update_7008() {
),
));
}
+
+/**
+ * Change {taxonomy_term_data}.format into varchar.
+ */
+function taxonomy_update_7009() {
+ db_change_field('taxonomy_term_data', 'format', 'format', array(
+ 'type' => 'varchar',
+ 'length' => 255,
+ 'not null' => FALSE,
+ 'description' => 'The {filter_format}.format of the description.',
+ ));
+}
+