function signup_update_6005 in Signup 7
Same name and namespace in other branches
- 6 signup.install \signup_update_6005()
Add the 'user_reg_form' field to the {signup} table. See http://drupal.org/node/856604 for more information.
File
- ./
signup.install, line 336
Code
function signup_update_6005() {
$ret = array();
$field = array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
);
db_add_field('signup', 'user_reg_form', $field);
// hook_update_N() no longer returns a $ret array. Instead, return
// nothing or a translated string indicating the update ran successfully.
// See http://drupal.org/node/224333#update_sql.
return t('TODO Add a descriptive string here to show in the UI.');
}