function biblio_update_7001 in Bibliography Module 7
Same name and namespace in other branches
- 7.2 biblio.install \biblio_update_7001()
Add new column to biblio_contributor_data table.
File
- ./
biblio.install, line 2014
Code
function biblio_update_7001() {
if (!db_field_exists('biblio_contributor_data', 'literal')) {
$spec = array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
'unsigned' => TRUE,
'description' => 'Determines if the author name is allowed to be reformated by the variaous styles or should be used literally.',
);
db_add_field('biblio_contributor_data', 'literal', $spec);
}
}