From 27388f66557cddce6aff1cc945601c5f843304cd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 5 Jun 2007 12:13:23 +0000 Subject: - Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id(). --- modules/system/system.install | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/system') 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. -- cgit v1.2.3