diff options
-rw-r--r-- | modules/system/system.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index e36f34f14..edc864cbb 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3343,9 +3343,9 @@ function system_update_6022() { function system_update_6023() { $ret = array(); // vid is NULL - db_change_field($ret, 'node', 'vid'); + 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'); + db_change_field($ret, 'node_revisions', 'nid', 'nid', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)); return $ret; } |