You are here

function twitter_update_7504 in Twitter 7.5

Same name and namespace in other branches
  1. 7.6 twitter.install \twitter_update_7504()

Update the twitter_account.uid column to accept NULL values.

File

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

Code

function twitter_update_7504() {
  $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('twitter_account', 'uid', 'uid', $spec);
}