function twitter_update_7507 in Twitter 7.6
Same name and namespace in other branches
- 7.5 twitter.install \twitter_update_7507()
Change {twitter_account}.twitter_uid to BIGINT.
File
- ./
twitter.install, line 532 - Install, update and uninstall functions for the twitter module.
Code
function twitter_update_7507() {
db_drop_primary_key('twitter_account');
$spec = array(
'description' => "The unique identifier of the {twitter_account}.",
'type' => 'int',
'unsigned' => TRUE,
'size' => 'big',
'not null' => TRUE,
'default' => 0,
);
$index_spec = array(
'primary key' => array(
'twitter_uid',
),
);
db_change_field('twitter_account', 'twitter_uid', 'twitter_uid', $spec, $index_spec);
}