summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-06-07 03:44:13 +0000
committerDries Buytaert <dries@buytaert.net>2007-06-07 03:44:13 +0000
commit36cdf06140dec5a288e86663b236bb98280db1be (patch)
tree2f4cd315d6dd61612c16f846687e8259c20d7292 /modules/system/system.install
parentcd0c56481de5d50582f9a9ac09670cf97b8cb290 (diff)
downloadbrdo-36cdf06140dec5a288e86663b236bb98280db1be.tar.gz
brdo-36cdf06140dec5a288e86663b236bb98280db1be.tar.bz2
- Patch #149626 by ChrisKennedy: fixed update 6023
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install4
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;
}