From 19089633f62f8b9b61e79ccee32850c155f6716e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 11 Oct 2009 11:24:08 +0000 Subject: - Patch #334283 by andypost: fix upgrade path of message contexts for translations. --- modules/locale/locale.install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/locale/locale.install b/modules/locale/locale.install index 7800cc0f8..45f0020fa 100644 --- a/modules/locale/locale.install +++ b/modules/locale/locale.install @@ -33,9 +33,10 @@ function locale_install() { */ /** - * Allow longer location. + * Add context field and allow longer location. */ function locale_update_7000() { + db_add_field('locales_source', 'context', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '')); db_drop_index('locales_source', 'source'); db_add_index('locales_source', 'source_context', array(array('source', 30), 'context')); } -- cgit v1.2.3