Commit 19089633 authored by Dries's avatar Dries
Browse files

- Patch #334283 by andypost: fix upgrade path of message contexts for translations.

parent 1ed4175d
......@@ -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'));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment