function quiz_update_7101 in Quiz 7.5
Same name and namespace in other branches
- 8.4 quiz.install \quiz_update_7101()
- 7.6 quiz.install \quiz_update_7101()
- 7.4 quiz.install \quiz_update_7101()
Implements hook_update_N().
File
- ./
quiz.install, line 743 - Quiz install schema for installing the quiz module.
Code
function quiz_update_7101(&$sandbox) {
// Should have been named quiz_update_7401.
db_add_field('quiz_user_settings', 'show_passed', array(
'type' => 'int',
'not null' => TRUE,
'default' => 1,
'size' => 'tiny',
));
return t('Done !');
}