You are here

function i18n_update_3 in Internationalization 5.2

Same name and namespace in other branches
  1. 5.3 i18n.install \i18n_update_3()
  2. 5 i18n.install \i18n_update_3()

File

./i18n.install, line 98

Code

function i18n_update_3() {
  $items = array();
  $items[] = update_sql("ALTER TABLE {i18n_node} MODIFY COLUMN trid INTEGER UNSIGNED NOT NULL default '0', DROP PRIMARY KEY, ADD PRIMARY KEY(nid)");
  $items[] = update_sql("ALTER TABLE {term_data} MODIFY COLUMN trid INTEGER UNSIGNED NOT NULL default '0', DROP PRIMARY KEY, ADD PRIMARY KEY(tid)");
  return $items;
}