You are here

function i18nstrings_update_6006 in Internationalization 6

Rename status field so it doesn't clash with other l10n modules

File

i18nstrings/i18nstrings.install, line 213
Installation file for i18nstrings module.

Code

function i18nstrings_update_6006() {
  $ret = array();
  if (!variable_get('i18nstrings_update_skip', 0)) {
    db_change_field($ret, 'locales_target', 'status', 'i18n_status', array(
      'type' => 'int',
      'not null' => TRUE,
      'default' => 0,
    ));
  }
  return $ret;
}