function forum_update_7000
7.x forum.install | forum_update_7000() |
Add new index to forum table.
File
- drupal-7.x/
modules/ forum/ forum.install, line 261 - Install, update, and uninstall functions for the Forum module.
Code
function forum_update_7000() {
db_drop_index('forum', 'nid');
db_add_index('forum', 'forum_topic', array('nid', 'tid'));
}