You are here

function webform_update_7303 in Webform 7.4

Same name and namespace in other branches
  1. 7.3 webform.install \webform_update_7303()

Set the default for the "submit_notice" column to 1.

File

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

Code

function webform_update_7303() {
  db_change_field('webform', 'submit_notice', 'submit_notice', array(
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => 1,
  ));
}