You are here

function twitter_update_7400 in Twitter 7.4

Same name and namespace in other branches
  1. 7.6 twitter.install \twitter_update_7400()
  2. 7.5 twitter.install \twitter_update_7400()

Adds field mentions to twitter_account table.

File

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

Code

function twitter_update_7400() {
  $data = array(
    'description' => "Boolean flag indicating whether the {twitter_user}'s mentions should be pulled in by the site.",
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  );
  db_add_field('twitter_account', 'mentions', $data);
}