function quiz_update_7507 in Quiz 7.5
Same name and namespace in other branches
- 7.6 quiz.install \quiz_update_7507()
Add allow_change to restrict users from changing answers.
File
- ./
quiz.install, line 995 - Quiz install schema for installing the quiz module.
Code
function quiz_update_7507() {
db_add_field('quiz_node_properties', 'allow_change', array(
'type' => 'int',
'size' => 'small',
'not null' => TRUE,
'default' => 1,
));
}