function comment_update_7007 in Drupal 7
Add an index to the created column.
Related topics
File
- modules/
comment/ comment.install, line 356 - Install, update and uninstall functions for the comment module.
Code
function comment_update_7007() {
db_add_index('comment', 'comment_created', array(
'created',
));
}