function quiz_update_7407 in Quiz 7.4
Same name and namespace in other branches
- 8.4 quiz.install \quiz_update_7407()
- 7.6 quiz.install \quiz_update_7407()
- 7.5 quiz.install \quiz_update_7407()
Adding auto update max score
File
- ./
quiz.install, line 788 - Quiz install schema for installing the quiz module
Code
function quiz_update_7407(&$sandbox) {
$spec = array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
);
db_add_field('quiz_node_relationship', 'auto_update_max_score', $spec);
return t('Added new auto update max score field to the quiz_node_relationship table');
}