You are here

function biblio_update_6021 in Bibliography Module 6

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

File

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

Code

function biblio_update_6021() {
  $result = array();
  db_change_field($result, 'biblio', 'biblio_number', 'biblio_number', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_other_number', 'biblio_other_number', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_volume', 'biblio_volume', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_isbn', 'biblio_isbn', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_issue', 'biblio_issue', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_type_of_work', 'biblio_type_of_work', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_accession_number', 'biblio_accession_number', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_call_number', 'biblio_call_number', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_number_of_volumes', 'biblio_number_of_volumes', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_section', 'biblio_section', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  db_change_field($result, 'biblio', 'biblio_issn', 'biblio_issn', array(
    'type' => 'varchar',
    'length' => '128',
  ));
  return $result;
}