summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-06-05 12:13:23 +0000
committerDries Buytaert <dries@buytaert.net>2007-06-05 12:13:23 +0000
commit27388f66557cddce6aff1cc945601c5f843304cd (patch)
tree3a12f2afdc14b5af5be1b03d9c1fde6ac3d77928 /modules/system/system.install
parent745222200e0670f55c6d695e467558171b7bb5d8 (diff)
downloadbrdo-27388f66557cddce6aff1cc945601c5f843304cd.tar.gz
brdo-27388f66557cddce6aff1cc945601c5f843304cd.tar.bz2
- Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id().
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 96d64bfab..e36f34f14 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -3339,6 +3339,16 @@ function system_update_6022() {
return $ret;
}
+
+function system_update_6023() {
+ $ret = array();
+ // vid is NULL
+ db_change_field($ret, 'node', 'vid');
+ // nid is DEFAULT 0
+ db_change_field($ret, 'node_revisions', 'nid');
+ return $ret;
+}
+
/**
* @} End of "defgroup updates-5.x-to-6.x"
* The next series of updates should start at 7000.