You are here

function fbconnect_schema in Facebook Connect 6.2

Same name and namespace in other branches
  1. 6 fbconnect.install \fbconnect_schema()

Implements hook_schema().

File

./fbconnect.install, line 101
Install, update and uninstall functions for the fbconnect module.

Code

function fbconnect_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;
}