You are here

function webform_civicrm_update_6100 in Webform CiviCRM Integration 6.2

Same name and namespace in other branches
  1. 6 webform_civicrm.install \webform_civicrm_update_6100()
  2. 7.5 webform_civicrm.install \webform_civicrm_update_6100()
  3. 7 webform_civicrm.install \webform_civicrm_update_6100()
  4. 7.2 webform_civicrm.install \webform_civicrm_update_6100()
  5. 7.3 webform_civicrm.install \webform_civicrm_update_6100()
  6. 7.4 webform_civicrm.install \webform_civicrm_update_6100()

Add column for message to webform_civicrm_forms table.

File

./webform_civicrm.install, line 129
Webform CiviCRM module's install, uninstall and upgrade code.

Code

function webform_civicrm_update_6100() {
  $message = array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
    'description' => 'Message to show to known users',
  );
  $ret = array();
  db_add_field($ret, 'webform_civicrm_forms', 'message', $message);
  return $ret;
}