function fb_user_schema in Drupal for Facebook 6.3
Same name and namespace in other branches
- 6.2 fb_user.install \fb_user_schema()
- 7.4 fb_user.install \fb_user_schema()
- 7.3 fb_user.install \fb_user_schema()
1 call to fb_user_schema()
- fb_user_update_6007 in ./
fb_user.install - Install fb_user table and move entries in authmap table to fb_user.
File
- ./
fb_user.install, line 46 - Install file for fb_user.module.
Code
function fb_user_schema() {
// Note fb_user_app table has been moved to fb_user_app.module.
$schema['fb_user'] = array(
'fields' => array(
'uid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'fbu' => array(
// http://forum.developers.facebook.net/viewtopic.php?pid=4676
'type' => 'int',
'size' => 'big',
'not null' => TRUE,
),
),
'primary key' => array(
'uid',
),
'unique keys' => array(
'fbu' => array(
'fbu',
),
),
);
return $schema;
}