function webform_civicrm_update_6201 in Webform CiviCRM Integration 7.4
Same name and namespace in other branches
- 6.2 webform_civicrm.install \webform_civicrm_update_6201()
- 7.5 webform_civicrm.install \webform_civicrm_update_6201()
- 7.2 webform_civicrm.install \webform_civicrm_update_6201()
- 7.3 webform_civicrm.install \webform_civicrm_update_6201()
Add column for new_contact_source to webform_civicrm_forms table.
File
- ./
webform_civicrm.install, line 307 - Webform CiviCRM module's install, uninstall and upgrade code.
Code
function webform_civicrm_update_6201() {
$field = array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
'description' => 'Source label for newly created contacts',
);
db_add_field('webform_civicrm_forms', 'new_contact_source', $field);
}