function quiz_update_6405 in Quiz 6.4
Implementation of hook_update_N(). Adding a new field to store whether or not to repeat questions until they're found correct
File
- ./
quiz.install, line 494 - Quiz install schema for installing the quiz module
Code
function quiz_update_6405() {
$result = array();
db_add_field($result, 'quiz_node_properties', 'repeat_until_correct', array(
'type' => 'int',
'size' => 'tiny',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
));
return $result;
}