You are here

function biblio_update_6017 in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 biblio.install \biblio_update_6017()

File

./biblio.install, line 1712
Install file for biblio module

Code

function biblio_update_6017() {
  if (!db_column_exists('biblio_contributor_data', 'aka')) {

    // we don't need to do this if upgrading from 5.x
    $result = array();
    $result[] = update_sql("ALTER TABLE {biblio_contributor_data} ADD COLUMN aka INTEGER UNSIGNED ");
    return $result;
  }
}