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 17 Oct 2009 05:50:33 -0000 @@ -93,11 +93,33 @@ function dblog_schema() { } /** - * Allow NULL values for links and longer referers. + * @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. + */ + + +/** + * @defgroup updates-6.x-to-7.x database logging updates from 6.x to 7.x + * @{ + */ + +/** + * Allow NULL values for links. */ 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)); } /** @@ -113,3 +135,8 @@ function dblog_update_7002() { function dblog_update_7003() { db_change_field('watchdog', 'type', 'type', array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => '')); } + +/** + * @} End of "defgroup updates-6.x-to-7.x" + * The next series of updates should start at 8000. + */ 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 17 Oct 2009 05:50:34 -0000 @@ -134,18 +134,29 @@ 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 statistics 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. */