function forum_update_7002
7.x forum.install | forum_update_7002() |
Add new index to forum_index table.
Related topics
File
- drupal-7.x/
modules/ forum/ forum.install, line 362 - Install, update, and uninstall functions for the Forum module.
Code
function forum_update_7002() {
db_drop_index('forum_index', 'forum_topics');
db_add_index('forum_index', 'forum_topics', array('nid', 'tid', 'sticky', 'last_comment_timestamp'));
}