function long_answer_update_7401 in Quiz 8.4
Same name and namespace in other branches
- 7.6 question_types/long_answer/long_answer.install \long_answer_update_7401()
- 7.4 question_types/long_answer/long_answer.install \long_answer_update_7401()
- 7.5 question_types/long_answer/long_answer.install \long_answer_update_7401()
Adding feedback field to table {quiz_long_answer_user_answers}
File
- question_types/
long_answer/ long_answer.install, line 114 - Long answer questions.
Code
function long_answer_update_7401() {
$spec = array(
'type' => 'text',
'not null' => FALSE,
);
db_add_field('quiz_long_answer_user_answers', 'answer_feedback', $spec);
}