function webform_update_6319 in Webform 6.3
Add columns for e-mail HTML and attachment settings.
File
- ./
webform.install, line 1321 - Webform module install/schema hooks.
Code
function webform_update_6319() {
$ret = array();
if (!db_column_exists('webform_emails', 'html')) {
db_add_field($ret, 'webform_emails', 'html', array(
'type' => 'int',
'size' => 'tiny',
'unsigned' => TRUE,
'default' => 0,
'not null' => TRUE,
));
db_add_field($ret, 'webform_emails', 'attachments', array(
'type' => 'int',
'size' => 'tiny',
'unsigned' => TRUE,
'default' => 0,
'not null' => TRUE,
));
}
return $ret;
}