All pastes #542944 Raw Edit

Miscellany

public php v1 · immutable
·published 2007-06-05 23:48 UTC
rendered paste body
function system_update_6023() {  $ret = array();  // vid is NULL  db_change_field($ret, 'node', 'vid', 'vid', array('type' => 'int', 'unsigned' => TRUE, 'default' => 0));  // nid is DEFAULT 0  db_change_field($ret, 'node_revisions', 'nid', 'nid', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0));  return $ret;}