diff --git a/modules/locale/locale.install b/modules/locale/locale.install index 7800cc0f864d0346ac7f7226c15e5b30dda98669..45f0020fa46638728ffb165955c3f0fb490a85bd 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')); }