summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/locale/locale.install3
1 files changed, 2 insertions, 1 deletions
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'));
}