function short_answer_update_6401 in Quiz 6.4
Same name and namespace in other branches
- 8.4 question_types/short_answer/short_answer.install \short_answer_update_6401()
Implementation of hook_update_N()
Adding feedback field to table {quiz_short_answer_user_answers}
File
- question_types/
short_answer/ short_answer.install, line 154 - The installer file for short_answer.
Code
function short_answer_update_6401() {
$to_return = array();
$spec = array(
'type' => 'text',
'not null' => FALSE,
);
db_add_field($to_return, 'quiz_short_answer_user_answers', 'answer_feedback', $spec);
return $to_return;
}