function quiz_update_7100 in Quiz 7.5
Same name and namespace in other branches
- 8.4 quiz.install \quiz_update_7100()
- 7.6 quiz.install \quiz_update_7100()
- 7.4 quiz.install \quiz_update_7100()
Implements hook_update_N().
File
- ./
quiz.install, line 734 - Quiz install schema for installing the quiz module.
Code
function quiz_update_7100(&$sandbox) {
// Should have been named quiz_update_7400.
db_add_field('quiz_node_properties', 'show_passed', array(
'type' => 'int',
'not null' => TRUE,
'default' => 1,
'size' => 'tiny',
));
return t('Show passed field added to quiz config.');
}