function fillpdf_update_7105 in FillPDF 7
Add fid field to fillpdf_file_context so we can remove context by fid.
File
- ./
fillpdf.install, line 315 - Install.
Code
function fillpdf_update_7105() {
$schema = drupal_get_schema_unprocessed('fillpdf', 'fillpdf_file_context');
if (!db_field_exists('fillpdf_file_context', 'fid')) {
db_add_field('fillpdf_file_context', 'fid', $schema['fields']['fid']);
}
return 'Add fid field to fillpdf_file_context so we can remove context by fid.';
}