You are here

function fillpdf_update_7005 in FillPDF 7

Same name and namespace in other branches
  1. 7.2 fillpdf.install \fillpdf_update_7005()

Add database field to hold "Redirect to saved file" setting.

File

./fillpdf.install, line 250
Install.

Code

function fillpdf_update_7005() {
  if (!db_field_exists('fillpdf_forms', 'destination_redirect')) {
    db_add_field('fillpdf_forms', 'destination_redirect', array(
      'type' => 'int',
      'size' => 'tiny',
      'unsigned' => TRUE,
    ));
  }
}