function webform_civicrm_update_6102 in Webform CiviCRM Integration 7
Same name and namespace in other branches
- 6.2 webform_civicrm.install \webform_civicrm_update_6102()
- 6 webform_civicrm.install \webform_civicrm_update_6102()
- 7.5 webform_civicrm.install \webform_civicrm_update_6102()
- 7.2 webform_civicrm.install \webform_civicrm_update_6102()
- 7.3 webform_civicrm.install \webform_civicrm_update_6102()
- 7.4 webform_civicrm.install \webform_civicrm_update_6102()
Add column for confirm_subscription to webform_civicrm_forms table.
File
- ./
webform_civicrm.install, line 141 - Webform CiviCRM module's install and uninstall code.
Code
function webform_civicrm_update_6102() {
$confirm_subscription = array(
'description' => 'Send confirmation for mailing list subscriptions.',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
);
db_add_field('webform_civicrm_forms', 'confirm_subscription', $confirm_subscription);
}