You are here

function biblio_update_6033 in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 biblio.install \biblio_update_6033()
  2. 7.2 biblio.install \biblio_update_6033()
1 call to biblio_update_6033()
biblio_update_7008 in ./biblio.install
Adds new "biblio_sort_title" column to the biblio table, which is used for title sorting.

File

./biblio.install, line 1992

Code

function biblio_update_6033() {
  $spec = array(
    'type' => 'varchar',
    'not null' => FALSE,
    'length' => '64',
    'description' => 'A normalized version of the title, used for sorting on titles. (only first 64 characters saved)',
  );
  db_add_field('biblio', 'biblio_sort_title', $spec);
}