function fbconnect_update_6003 in Facebook Connect 6
Same name and namespace in other branches
- 6.2 fbconnect.install \fbconnect_update_6003()
Alter fbuid field to allow for 64-bit facebook ids
File
- ./
fbconnect.install, line 70 - Implementation of hook_install().
Code
function fbconnect_update_6003() {
$ret = array();
db_drop_primary_key($ret, 'fbconnect_users');
db_change_field($ret, 'fbconnect_users', 'fbuid', 'fbuid', array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'size' => 'big',
), array(
'primary key' => array(
'fbuid',
),
));
return $ret;
}