Index: modules/locale/locale.install =================================================================== RCS file: /cvs/drupal/drupal/modules/locale/locale.install,v retrieving revision 1.49 diff -u -p -r1.49 locale.install --- modules/locale/locale.install 29 Sep 2009 15:13:55 -0000 1.49 +++ modules/locale/locale.install 5 Oct 2009 21:56:06 -0000 @@ -33,14 +33,22 @@ function locale_install() { */ /** - * Allow longer location. + * Add context field. */ 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')); } /** + * Allow longer location. + */ +function locale_update_7001() { + db_change_field('locales_source', 'location', 'location', array('type' => 'text', 'size' => 'big', 'not null' => FALSE)); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" */