You are here

function twitter_update_6507 in Twitter 6.5

Update the twitter_account.uid column to accept NULL values.

File

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

Code

function twitter_update_6507() {
  $ret = array();
  $spec = array(
    'description' => "The uid of the user who added this Twitter account.",
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => FALSE,
    'default' => 0,
  );
  db_change_field($ret, 'twitter_account', 'uid', 'uid', $spec);
  return $ret;
}