summaryrefslogtreecommitdiff
path: root/modules/comment/comment.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r--modules/comment/comment.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install
index f6db6408e..7098d0425 100644
--- a/modules/comment/comment.install
+++ b/modules/comment/comment.install
@@ -208,6 +208,13 @@ function comment_update_7010() {
}
/**
+ * Add an index to node_comment_statistics on comment_count.
+ */
+function comment_update_7011() {
+ db_add_index('node_comment_statistics', 'comment_count', array('comment_count'));
+}
+
+/**
* @} End of "defgroup updates-6.x-to-7.x"
* The next series of updates should start at 8000.
*/