You are here

function twitter_update_7510 in Twitter 7.6

Same name and namespace in other branches
  1. 7.5 twitter.install \twitter_update_7510()

Add an extra index on {twitter}.created_time.

File

./twitter.install, line 588
Install, update and uninstall functions for the twitter module.

Code

function twitter_update_7510() {
  if (!db_index_exists('twitter', 'created_time')) {
    db_add_index('twitter', 'created_time', array(
      'created_time',
    ));
  }
}