You are here

function pardot_update_6003 in Pardot Integration 6

File

./pardot.install, line 263

Code

function pardot_update_6003() {
  $ret = array();
  $form_nid_field = array(
    // Associated Form Id
    'description' => 'Webform nid that generated this post',
    'type' => 'int',
    'size' => 'normal',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  );
  db_add_field($ret, 'pardot_submissions', 'form_nid', $form_nid_field);
  db_drop_field($ret, 'pardot_submissions', 'form_id');
  return $ret;
}