You are here

function biblio_bibtex_update_7001 in Bibliography Module 7.2

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

File

modules/bibtexParse/biblio_bibtex.install, line 157
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);
  }
}