You are here

function webform_protected_downloads_update_6004 in Webform Protected Downloads 6

File

./webform_protected_downloads.install, line 200

Code

function webform_protected_downloads_update_6004() {
  $ret = array();
  db_add_field($ret, 'wpd_node_configuration', 'redirect', array(
    'description' => 'Whether the user should be redirected to the downloads page after form submission',
    'type' => 'int',
    'size' => 'tiny',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}