You are here

function fillpdf_update_7004 in FillPDF 7.2

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

Add field to store default NID.

File

./fillpdf.install, line 199
Install

Code

function fillpdf_update_7004() {
  if (!db_field_exists('fillpdf_forms', 'default_nid')) {
    db_add_field('fillpdf_forms', 'default_nid', array(
      'type' => 'int',
      'unsigned' => TRUE,
      'not null' => FALSE,
    ));
  }
}