You are here

function quiz_update_7405 in Quiz 8.4

Same name and namespace in other branches
  1. 7.6 quiz.install \quiz_update_7405()
  2. 7.4 quiz.install \quiz_update_7405()
  3. 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 756
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');
}