function biblio_update_6039 in Bibliography Module 6.2
File
- ./
biblio.install, line 2791 - Install, update, and uninstall functions for the biblio module.
Code
function biblio_update_6039() {
$result = array();
$type_map = array(
'description' => 'The mapping between the publication types in the file format and biblio',
'type' => 'text',
'not null' => FALSE,
);
$type_names = array(
'description' => 'The human readable names of the publication types',
'type' => 'text',
'not null' => FALSE,
);
$field_map = array(
'description' => 'The mapping between the fields in the file format and biblio',
'type' => 'text',
'not null' => FALSE,
);
$export_map = array(
'description' => 'which fields are exported',
'type' => 'text',
'not null' => FALSE,
);
db_change_field($result, 'biblio_type_maps', 'type_map', 'type_map', $type_map);
db_change_field($result, 'biblio_type_maps', 'type_names', 'type_names', $type_names);
db_change_field($result, 'biblio_type_maps', 'field_map', 'field_map', $field_map);
db_change_field($result, 'biblio_type_maps', 'export_map', 'export_map', $export_map);
return $result;
}