function system_update_6023
6.x system.install | system_update_6023() |
Related topics
File
- drupal-6.x/
modules/ system/ system.install, line 2051
Code
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;
}