You are here

function comment_update_6004 in Drupal 6

Add index to to node_comment_statistics on comment_count

Related topics

File

modules/comment/comment.install, line 77

Code

function comment_update_6004() {
  $ret = array();
  db_add_index($ret, 'node_comment_statistics', 'comment_count', array(
    'comment_count',
  ));
  return $ret;
}