function fbconnect_login_schema in Facebook Connect 7.2
Same name and namespace in other branches
- 8.2 fbconnect_login/fbconnect_login.install \fbconnect_login_schema()
Implements hook_schema().
File
- fbconnect_login/
fbconnect_login.install, line 11 - Install, update and uninstall functions for the FBConnect Login module.
Code
function fbconnect_login_schema() {
$schema['fbconnect_users'] = array(
'fields' => array(
'uid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'fbuid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'size' => 'big',
),
'timestamp' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
),
'primary key' => array(
'fbuid',
),
);
return $schema;
}