You are here

function webform_update_7309 in Webform 7.4

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

Add the ability to auto-save as draft between pages.

File

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

Code

function webform_update_7309() {
  if (!db_field_exists('webform', 'auto_save')) {
    db_add_field('webform', 'auto_save', array(
      'type' => 'int',
      'size' => 'tiny',
      'not null' => TRUE,
      'default' => 0,
    ));
  }
}