function webform_update_6322 in Webform 6.3
Set additional_validate and additional_submit columns to allow NULL.
File
- ./
webform.install, line 1353 - Webform module install/schema hooks.
Code
function webform_update_6322() {
$ret = array();
if (db_column_exists('webform', 'additional_validate')) {
db_change_field($ret, 'webform', 'additional_validate', 'additional_validate', array(
'type' => 'text',
'not null' => FALSE,
));
db_change_field($ret, 'webform', 'additional_submit', 'additional_submit', array(
'type' => 'text',
'not null' => FALSE,
));
}
return $ret;
}