You are here

function fillpdf_update_7004 in FillPDF 7

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

Add field to store default NID.

File

./fillpdf.install, line 241
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,
    ));
  }
}