function webform_civicrm_update_6202 in Webform CiviCRM Integration 6.2
Same name and namespace in other branches
- 7.5 webform_civicrm.install \webform_civicrm_update_6202()
- 7.2 webform_civicrm.install \webform_civicrm_update_6202()
- 7.3 webform_civicrm.install \webform_civicrm_update_6202()
- 7.4 webform_civicrm.install \webform_civicrm_update_6202()
Add column for contact_matching to webform_civicrm_forms table.
File
- ./
webform_civicrm.install, line 301 - Webform CiviCRM module's install, uninstall and upgrade code.
Code
function webform_civicrm_update_6202() {
$field = array(
'description' => 'How to match and autofill for contacts',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 1,
);
$ret = array();
db_add_field($ret, 'webform_civicrm_forms', 'contact_matching', $field);
return $ret;
}