function forum_update_7000

Add new index to forum table.

File

modules/forum/forum.install, line 261

Code

function forum_update_7000() {
  db_drop_index('forum', 'nid');
  db_add_index('forum', 'forum_topic', array(
    'nid',
    'tid',
  ));
}

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