You are here

function twitter_update_7504 in Twitter 7.6

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

Update the twitter_account.uid column to accept NULL values.

File

./twitter.install, line 488
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);
}