function biblio_ris_schema in Bibliography Module 6.2
Same name and namespace in other branches
- 7 modules/RIS/biblio_ris.install \biblio_ris_schema()
- 7.2 modules/RIS/biblio_ris.install \biblio_ris_schema()
Implementation of hook_schema().
Note: Pro Drupal Development models use of t() to translate 'description' for field definitions, but Drupal core does not use them. We follow core.
File
- modules/
RIS/ biblio_ris.install, line 224 - Database table creation for biblio_ris module.
Code
function biblio_ris_schema() {
$schema = array();
$schema['biblio_ris'] = array(
'fields' => array(
'nid' => array(
'type' => 'int',
'not null' => TRUE,
),
'biblio_ris_md5' => array(
'type' => 'char',
'length' => 32,
'not null' => TRUE,
),
),
'primary key' => array(
'nid',
),
);
return $schema;
}