function quiz_update_7405 in Quiz 7.6
Same name and namespace in other branches
- 8.4 quiz.install \quiz_update_7405()
- 7.4 quiz.install \quiz_update_7405()
- 7.5 quiz.install \quiz_update_7405()
Remove unsigned attribute from field time_start and time_end in quiz_node_results table.
File
- ./
quiz.install, line 729 - Quiz install schema for installing the quiz module
Code
function quiz_update_7405() {
$spec = array(
'type' => 'int',
'unsigned' => FALSE,
'default' => 0,
);
db_change_field('quiz_node_results', 'time_start', 'time_start', $spec);
db_change_field('quiz_node_results', 'time_end', 'time_end', $spec);
return t('Removed unsigned attribute from field time_start and time_end in quiz_node_results table');
}