You are here

function twitter_update_7510 in Twitter 7.5

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

Add an extra index on {twitter}.created_time.

File

./twitter.install, line 596
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',
    ));
  }
}