You are here

function biblio_update_7022 in Bibliography Module 7

Add merge_cid column to the biblio_contributor_data table.

1 call to biblio_update_7022()
biblio_update_7024 in ./biblio.install
Re-apply update 7022 in case the install happened after 7022 was implemented. The main scheme definition was not changed at that time to match the update resulting a schema mismatch.

File

./biblio.install, line 2316

Code

function biblio_update_7022() {
  if (!db_field_exists('biblio_contributor', 'merge_cid')) {
    $spec = array(
      'type' => 'int',
      'not null' => TRUE,
      'default' => 0,
      'unsigned' => TRUE,
      'description' => '',
    );
    db_add_field('biblio_contributor', 'merge_cid', $spec);
  }
}