function webform_civicrm_update_7403 in Webform CiviCRM Integration 7.4
Same name and namespace in other branches
- 7.5 webform_civicrm.install \webform_civicrm_update_7403()
Add field to create new relationship for duplicate records(expired/inactive).
File
- ./
webform_civicrm.install, line 825 - Webform CiviCRM module's install, uninstall and upgrade code.
Code
function webform_civicrm_update_7403() {
$field = array(
'description' => 'Create new relationship if duplicate record exists and is expired or inactive.',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
);
db_add_field('webform_civicrm_forms', 'create_new_relationship', $field);
}