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