You are here

function biblio_bibtex_schema in Bibliography Module 6.2

Same name and namespace in other branches
  1. 7 modules/bibtexParse/biblio_bibtex.install \biblio_bibtex_schema()
  2. 7.2 modules/bibtexParse/biblio_bibtex.install \biblio_bibtex_schema()

File

modules/bibtexParse/biblio_bibtex.install, line 162
Database table creation for biblio_bibtex module.

Code

function biblio_bibtex_schema() {
  $schema = array();
  $schema['biblio_bibtex'] = array(
    'fields' => array(
      'nid' => array(
        'type' => 'int',
        'not null' => TRUE,
      ),
      'biblio_bibtex_md5' => array(
        'type' => 'char',
        'length' => 32,
        'not null' => TRUE,
      ),
      'biblio_bibtex_id' => array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => FALSE,
      ),
    ),
    'primary key' => array(
      'nid',
    ),
  );
  return $schema;
}