You are here

function webform_validation_update_7106 in Webform Validation 7

Alter error_message field to allow longer than 255 chars error messages.

File

./webform_validation.install, line 225
Webform_validation installation file.

Code

function webform_validation_update_7106() {
  db_change_field('webform_validation_rule', 'error_message', 'error_message', array(
    'type' => 'text',
    'description' => 'Rule error message',
    'not null' => FALSE,
  ));
}