You are here

function pardot_update_6002 in Pardot Integration 6

File

./pardot.install, line 246

Code

function pardot_update_6002() {
  $ret = array();
  $url_field = array(
    'description' => 'Pardot post url',
    'type' => 'varchar',
    'size' => 'normal',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
  );
  db_add_field($ret, 'pardot_webform', 'url', $url_field);
  db_drop_field($ret, 'pardot_webform', 'form_name');
  return $ret;
}