function fillpdf_update_7002 in FillPDF 7
Same name and namespace in other branches
- 7.2 fillpdf.install \fillpdf_update_7002()
Add fields to store token replacements.
File
- ./
fillpdf.install, line 205 - Install.
Code
function fillpdf_update_7002() {
if (!db_field_exists('fillpdf_forms', 'replacements')) {
db_add_field('fillpdf_forms', 'replacements', array(
'type' => 'text',
'size' => 'normal',
));
}
if (!db_field_exists('fillpdf_fields', 'replacements')) {
db_add_field('fillpdf_fields', 'replacements', array(
'type' => 'text',
'size' => 'normal',
));
}
}