function webform_civicrm_update_6202 in Webform CiviCRM Integration 7.5
Same name and namespace in other branches
- 6.2 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 321 - Webform CiviCRM module's install, uninstall and upgrade code.
Code
function webform_civicrm_update_6202() {
$field = [
'description' => 'How to match and autofill for contacts',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 1,
];
db_add_field('webform_civicrm_forms', 'contact_matching', $field);
}