function i18n_update_3 in Internationalization 5.3
Same name and namespace in other branches
- 5 i18n.install \i18n_update_3()
- 5.2 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;
}