You are here

function comment_update_6003 in Drupal 6

Add index to parent ID field.

File

modules/comment/comment.install, line 63

Code

function comment_update_6003() {
  $ret = array();
  db_add_index($ret, 'comments', 'pid', array(
    'pid',
  ));
  return $ret;
}