You are here

function biblio_update_6033 in Bibliography Module 6.2

Same name and namespace in other branches
  1. 7 biblio.install \biblio_update_6033()
  2. 7.2 biblio.install \biblio_update_6033()

Update ...

This update function ...

Return value

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

File

./biblio.install, line 2636
Install, update, and uninstall functions for the biblio module.

Code

function biblio_update_6033() {
  $result = array();
  $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($result, 'biblio', 'biblio_sort_title', $spec);
  cache_clear_all();
  return $result;
}