You are here

function biblio_update_6017 in Bibliography Module 6.2

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

Update ...

This update function ...

Return value

array An array of associaive arrays with 'success' and 'query' keys.

File

./biblio.install, line 2299
Install, update, and uninstall functions for the 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;
  }
}