You are here

function biblio_update_7018 in Bibliography Module 7

Same name and namespace in other branches
  1. 7.2 biblio.install \biblio_update_7018()

Widen the biblio_contributor_data.lastname column to 255 characters.

File

./biblio.install, line 2264

Code

function biblio_update_7018() {
  $spec = array(
    'type' => 'varchar',
    'length' => '255',
    'not null' => TRUE,
    'default' => '',
    'description' => 'Author last name',
  );
  db_change_field('biblio_contributor_data', 'lastname', 'lastname', $spec);
}