Index: modules/statistics/statistics.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/statistics/statistics.install,v
retrieving revision 1.23
diff -u -p -r1.23 statistics.install
--- modules/statistics/statistics.install	29 Sep 2009 15:13:56 -0000	1.23
+++ modules/statistics/statistics.install	5 Oct 2009 20:37:46 -0000
@@ -134,18 +134,28 @@ function statistics_schema() {
 }
 
 /**
- * @defgroup updates-6.x-to-7.x System updates from 6.x to 7.x
+ * @defgroup updates-6.x-extra Extra statistics updates for 6.x
  * @{
  */
 
 /**
  * Allow longer referrers.
  */
-function statistics_update_7000() {
+function statistics_update_6000() {
   db_change_field('accesslog', 'url', 'url', array('type' => 'text', 'not null' => FALSE));
 }
 
 /**
+ * @} End of "defgroup updates-6.x-extra"
+ * The next series of updates should start at 7000.
+ */
+
+/**
+ * @defgroup updates-6.x-to-7.x System updates from 6.x to 7.x
+ * @{
+ */
+
+/**
  * @} End of "defgroup updates-6.x-to-7.x"
  * The next series of updates should start at 8000.
  */
Index: modules/dblog/dblog.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/dblog/dblog.install,v
retrieving revision 1.18
diff -u -p -r1.18 dblog.install
--- modules/dblog/dblog.install	29 Sep 2009 15:13:55 -0000	1.18
+++ modules/dblog/dblog.install	5 Oct 2009 20:37:46 -0000
@@ -93,11 +93,27 @@ function dblog_schema() {
 }
 
 /**
+ * @defgroup updates-6.x-extra Extra database logging updates for 6.x
+ * @{
+ */
+
+/**
+ * Allow longer referrers.
+ */
+function dblog_update_6000() {
+  db_change_field('watchdog', 'referer', 'referer', array('type' => 'text', 'not null' => FALSE));
+}
+
+/**
+ * @} End of "defgroup updates-6.x-extra"
+ * The next series of updates should start at 7000.
+ */
+
+/**
  * Allow NULL values for links and longer referers.
  */
 function dblog_update_7001() {
   db_change_field('watchdog', 'link', 'link', array('type' => 'varchar', 'length' => 255, 'not null' => FALSE, 'default' => ''));
-  db_change_field('watchdog', 'referer', 'referer', array('type' => 'text', 'not null' => FALSE));
 }
 
 /**
