function quiz_update_6305 in Quiz 6.3
Same name and namespace in other branches
- 6.6 quiz.install \quiz_update_6305()
- 6.4 quiz.install \quiz_update_6305()
- 6.5 quiz.install \quiz_update_6305()
Implementation of hook_update_N(). Adding new field to integrate quiz node and userpoints modules
File
- ./
quiz.install, line 39 - Quiz install schema for installing the quiz module
Code
function quiz_update_6305() {
$result = array();
db_add_field($result, 'quiz_node_properties', 'has_userpoints', array(
'type' => 'int',
'size' => 'tiny',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
));
return $result;
}