function system_update_6024
Add translation fields to nodes used by translation module.
Related topics
Archivo
- drupal-6.x/
modules/ system/ system.install, line 2064
Código
function system_update_6024() {
$ret = array();
db_add_field($ret, 'node', 'tnid', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0));
db_add_field($ret, 'node', 'translate', array('type' => 'int', 'not null' => TRUE, 'default' => 0));
db_add_index($ret, 'node', 'tnid', array('tnid'));
db_add_index($ret, 'node', 'translate', array('translate'));
return $ret;
}