function forum_update_7012

Add 'created' and 'last_comment_timestamp' indexes.

Related topics

File

drupal/modules/forum/forum.install, line 460
Install, update, and uninstall functions for the Forum module.

Code

function forum_update_7012() {
  db_add_index('forum_index', 'created', array(
    'created',
  ));
  db_add_index('forum_index', 'last_comment_timestamp', array(
    'last_comment_timestamp',
  ));
}