You are here

function fillpdf_update_7001 in FillPDF 7.2

Same name and namespace in other branches
  1. 7 fillpdf.install \fillpdf_update_7001()

Add field to store destination path for saving PDFs as files.

File

./fillpdf.install, line 154
Install

Code

function fillpdf_update_7001() {
  if (!db_field_exists('fillpdf_forms', 'destination_path')) {
    db_add_field('fillpdf_forms', 'destination_path', array(
      'type' => 'varchar',
      'length' => 255,
      'not null' => FALSE,
    ));
  }
}