You are here

function twitter_update_7512 in Twitter 7.5

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

Add index on {twitter_account}.uid.

File

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

Code

function twitter_update_7512() {
  if (!db_index_exists('twitter_account', 'uid')) {
    db_add_index('twitter_account', 'uid', array(
      'uid',
    ));
  }
}