You are here

function fillpdf_update_6002 in FillPDF 6

Add the replacements field to {fillpdf_forms} and {fillpdf_fields}.

File

./fillpdf.install, line 54
Install

Code

function fillpdf_update_6002() {
  $ret = array();
  db_add_field($ret, 'fillpdf_forms', 'replacements', array(
    'type' => 'text',
    'size' => 'normal',
    'not null' => FALSE,
  ));
  db_add_field($ret, 'fillpdf_fields', 'replacements', array(
    'type' => 'text',
    'size' => 'normal',
    'not null' => FALSE,
  ));
  return $ret;
}