diff options
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r-- | modules/comment/comment.install | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install index cda3c308d..121ec22a1 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -371,6 +371,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() { @@ -506,7 +527,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', |