You are here

function biblio_bibtex_update_7001 in Bibliography Module 7

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

File

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

Code

function biblio_bibtex_update_7001() {
  if (!db_field_exists('biblio_bibtex', 'biblio_bibtex_id')) {
    $spec = array(
      'type' => 'varchar',
      'length' => 255,
      'not null' => FALSE,
    );
    db_add_field('biblio_bibtex', 'biblio_bibtex_id', $spec);
  }
}