You are here

function fbconnect_schema in Facebook Connect 6

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

Implementation of hook_schema().

File

./fbconnect.install, line 42
Implementation of hook_install().

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