function biblio_marc_schema in Bibliography Module 6.2
Same name and namespace in other branches
- 7 modules/marcParse/biblio_marc.install \biblio_marc_schema()
- 7.2 modules/marcParse/biblio_marc.install \biblio_marc_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/
marcParse/ biblio_marc.install, line 106 - Database table creation for biblio_marc module.
Code
function biblio_marc_schema() {
$schema = array();
$schema['biblio_marc'] = array(
'fields' => array(
'nid' => array(
'type' => 'int',
'not null' => TRUE,
),
'biblio_marc_md5' => array(
'type' => 'char',
'length' => 32,
'not null' => TRUE,
),
),
'primary key' => array(
'nid',
),
);
return $schema;
}