? modules/openid/openid.api.php ? modules/simpletest/tests/343502.test Index: modules/dblog/dblog.install =================================================================== RCS file: /cvs/drupal/drupal/modules/dblog/dblog.install,v retrieving revision 1.11 diff -u -p -r1.11 dblog.install --- modules/dblog/dblog.install 3 Dec 2008 19:22:09 -0000 1.11 +++ modules/dblog/dblog.install 9 Dec 2008 19:08:33 -0000 @@ -104,12 +104,35 @@ function dblog_schema() { } /** - * Allow NULL values for links and longer referers. + * @defgroup updates-5.x-to-6.x Database logging updates from 5.x to 6.x + * @{ + */ + +/** + * Allow longer referrers. + */ +function dblog_update_6000() { + $ret = array(); + db_change_field($ret, 'watchdog', 'referer', 'referer', array('type' => 'text', 'not null' => FALSE)); + return $ret; +} + +/** + * @} End of "defgroup updates-5.x-to-6.x" + * 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() { $ret = array(); db_change_field($ret, 'watchdog', 'link', 'link', array('type' => 'varchar', 'length' => 255, 'not null' => FALSE, 'default' => '')); - db_change_field($ret, 'watchdog', 'referer', 'referer', array('type' => 'text', 'not null' => FALSE)); return $ret; } @@ -121,3 +144,8 @@ function dblog_update_7002() { db_add_index($ret, 'watchdog', 'uid', array('uid')); return $ret; } + +/** + * @} 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.15 diff -u -p -r1.15 statistics.install --- modules/statistics/statistics.install 3 Dec 2008 19:22:09 -0000 1.15 +++ modules/statistics/statistics.install 9 Dec 2008 19:08:33 -0000 @@ -119,10 +119,20 @@ function statistics_schema() { } /** + * @defgroup updates-5.x-to-6.x Statistics updates from 5.x to 6.x + * @{ + */ + +/** * Allow longer referrers. */ -function statistics_update_7000() { +function statistics_update_6000() { $ret = array(); db_change_field($ret, 'accesslog', 'url', 'url', array('type' => 'text', 'not null' => FALSE)); return $ret; } + +/** + * @} End of "defgroup updates-5.x-to-6.x" + * The next series of updates should start at 7000. + */