function biblio_pm_update_7001 in Bibliography Module 7
Same name and namespace in other branches
- 7.2 modules/pubmed/biblio_pm.install \biblio_pm_update_7001()
Add two new fields to the biblio_pubmed table.
File
- modules/
pubmed/ biblio_pm.install, line 125 - Database table creation for biblio_pm module.
Code
function biblio_pm_update_7001() {
$spec = array(
'description' => 'The Unix timestamp when the pmid was most recently saved.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
);
db_add_field('biblio_pubmed', 'biblio_pm_changed', $spec);
$spec = array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
);
db_add_field('biblio_pubmed', 'biblio_pmcid', $spec);
}