You are here

function twitter_update_6509 in Twitter 6.5

Change {twitter}.in_reply_to_user_id to BIGINT.

File

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

Code

function twitter_update_6509() {
  $ret = array();
  $spec = array(
    'description' => "Unique identifier for the {twitter_account} this post was replying to.",
    'type' => 'int',
    'unsigned' => TRUE,
    'size' => 'big',
    'not null' => FALSE,
    'default' => 0,
  );
  db_change_field($ret, 'twitter', 'in_reply_to_user_id', 'in_reply_to_user_id', $spec);
  return $ret;
}