system_update_6023
- Versions
- 6
system_update_6023()
Code
modules/system/system.install, line 1983
<?php
function system_update_6023() {
$ret = array();
// nid is DEFAULT 0
db_drop_index($ret, 'node_revisions', 'nid');
db_change_field($ret, 'node_revisions', 'nid', 'nid', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0));
db_add_index($ret, 'node_revisions', 'nid', array('nid'));
return $ret;
}
?>Login or register to post comments 