function flickr_schema in Flickr 6
Same name and namespace in other branches
- 7 flickr.install \flickr_schema()
File
- ./
flickr.install, line 21
Code
function flickr_schema() {
$schema['flickr_users'] = array(
'description' => t('Connects Drupal users to their Flickr accounts.'),
'fields' => array(
'uid' => array(
'type' => 'int',
'not null' => TRUE,
'description' => t('Primary Key: Drupal user ID'),
),
'nsid' => array(
'type' => 'varchar',
'length' => 64,
'not null' => TRUE,
'description' => t('Flickr NSID'),
),
'identifier' => array(
'type' => 'varchar',
'length' => 64,
'not null' => TRUE,
'description' => t('Flickr identifier'),
),
),
'primary key' => array(
'uid',
),
);
return $schema;
}