You are here

function twitter_update_6301 in Twitter 6.4

Same name and namespace in other branches
  1. 6.5 twitter.install \twitter_update_6301()
  2. 6.3 twitter.install \twitter_update_6301()

File

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

Code

function twitter_update_6301() {
  $ret = array();

  // add additional fields to {twitter_account}
  db_add_field($ret, 'twitter_account', 'include_retweets', array(
    'description' => t("Boolean flag indicating whether the {twitter_user}'s retweets should be pulled in by the site. Currently does not support native retweets."),
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}