diff --git a/modules/comment/comment.install b/modules/comment/comment.install index 120467f..c63ee77 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -369,6 +369,27 @@ function comment_update_7008() { */ /** + * @addtogroup updates-7.x-extra + * @{ + */ + +/** + * Change the last_comment_timestamp column description. + */ +function comment_update_7009() { + db_change_field('node_comment_statistics', 'last_comment_timestamp', 'last_comment_timestamp', array( + 'type' => 'int', + 'not null' => TRUE, + 'default' => 0, + 'description' => 'The Unix timestamp of the last comment that was posted within this node, from {comment}.changed.', + )); +} + +/** + * @} End of "addtogroup updates-7.x-extra" + */ + +/** * Implements hook_schema(). */ function comment_schema() { @@ -504,7 +525,7 @@ function comment_schema() { 'type' => 'int', 'not null' => TRUE, 'default' => 0, - 'description' => 'The Unix timestamp of the last comment that was posted within this node, from {comment}.timestamp.', + 'description' => 'The Unix timestamp of the last comment that was posted within this node, from {comment}.changed.', ), 'last_comment_name' => array( 'type' => 'varchar', diff --git a/modules/system/system.install b/modules/system/system.install index e55c7cf..c3fa795 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2970,5 +2970,13 @@ function system_update_7071() { /** * @} End of "defgroup updates-6.x-to-7.x" + */ + +/* + * @defgroup updates-7.x-extra Extra system updates for 7.x + * @{ + */ + +/* @} End of "defgroup updates-7.x-extra" * The next series of updates should start at 8000. */