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