You are here

function twitter_update_6504 in Twitter 6.5

Adds field added_by_uid to twitter_account table.

File

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

Code

function twitter_update_6504() {
  $ret = array();
  $data = array(
    'description' => "The uid of the user who added this Twitter account",
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  );
  db_add_field($ret, 'twitter_account', 'added_by_uid', $data);
  return $ret;
}