You are here

function comment_update_6005 in Drupal 6

Add indices to uid fields.

Related topics

File

modules/comment/comment.install, line 86

Code

function comment_update_6005() {
  $ret = array();
  db_add_index($ret, 'comments', 'comment_uid', array(
    'uid',
  ));
  db_add_index($ret, 'node_comment_statistics', 'last_comment_uid', array(
    'last_comment_uid',
  ));
  return $ret;
}