You are here

function l10n_update_update_6001 in Localization update 6

Same name and namespace in other branches
  1. 7 l10n_update.install \l10n_update_update_6001()

Add status field to locales_target.

File

./l10n_update.install, line 242
Install file for l10n remote updates.

Code

function l10n_update_update_6001() {
  $ret = array();
  if (!db_column_exists('locales_target', 'l10n_status')) {
    db_add_field($ret, 'locales_target', 'l10n_status', array(
      'type' => 'int',
      'not null' => TRUE,
      'default' => 0,
    ));
  }
  return $ret;
}