function webform_civicrm_update_6100 in Webform CiviCRM Integration 7.5
Same name and namespace in other branches
- 6.2 webform_civicrm.install \webform_civicrm_update_6100()
- 6 webform_civicrm.install \webform_civicrm_update_6100()
- 7 webform_civicrm.install \webform_civicrm_update_6100()
- 7.2 webform_civicrm.install \webform_civicrm_update_6100()
- 7.3 webform_civicrm.install \webform_civicrm_update_6100()
- 7.4 webform_civicrm.install \webform_civicrm_update_6100()
Add column for message to webform_civicrm_forms table.
File
- ./
webform_civicrm.install, line 145 - Webform CiviCRM module's install, uninstall and upgrade code.
Code
function webform_civicrm_update_6100() {
$message = [
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
'description' => 'Message to show to known users',
];
db_add_field('webform_civicrm_forms', 'message', $message);
}