function comment_update_7007

Add an index to the created column.

Related topics

File

modules/comment/comment.install, line 356

Code

function comment_update_7007() {
    db_add_index('comment', 'comment_created', array(
        'created',
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.