function multichoice_update_6403 in Quiz 6.4
Implementation of hood_update_N
Allow negative score values.
File
- question_types/
multichoice/ multichoice.install, line 287 - Sponsored by: Norwegian Centre for Telemedicine Code: falcon
Code
function multichoice_update_6403() {
$results = array();
foreach (array(
'score_if_chosen',
'score_if_not_chosen',
) as $field) {
db_change_field($results, 'quiz_multichoice_answers', $field, $field, array(
'type' => 'int',
'unsigned' => FALSE,
'not null' => TRUE,
'default' => 0,
));
}
return $results;
}