function i18nstrings_update_6003 in Internationalization 6
Create i18n_strings_status schema. Add a field to track whether a translation needs updating.
File
- i18nstrings/
i18nstrings.install, line 163 - Installation file for i18nstrings module.
Code
function i18nstrings_update_6003() {
$ret = array();
if (!variable_get('i18nstrings_update_skip', 0)) {
db_add_field($ret, 'locales_target', 'status', array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
));
}
return $ret;
}