You are here

function webform_update_7405 in Webform 7.4

Add an "extra" column to the e-mail table for for non-queryable options.

File

./webform.install, line 1685
Webform module install/schema hooks.

Code

function webform_update_7405() {
  $schema = array(
    'description' => 'A serialized array of additional options for the e-mail configuration, including excluded components and value mapping for the TO and FROM addresses for select lists.',
    'type' => 'text',
    'not null' => TRUE,
    'initial' => '',
  );
  if (!db_field_exists('webform_emails', 'extra')) {
    db_add_field('webform_emails', 'extra', $schema);
  }
}