You are here

function fb_user_update_6004 in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 6.2 fb_user.install \fb_user_update_6004()

File

./fb_user.install, line 117
Install file for fb_user.module.

Code

function fb_user_update_6004() {
  $ret = array();

  // Increase FBU to 64 bit as per announcement at http://developers.facebook.com/news.php?blog=1&story=226
  db_drop_primary_key($ret, 'fb_user_app');
  db_change_field($ret, 'fb_user_app', 'fbu', 'fbu', array(
    'type' => 'int',
    'size' => 'big',
    'not null' => TRUE,
  ), array(
    'primary key' => array(
      'apikey',
      'fbu',
    ),
  ));
  return $ret;
}