You are here

function quiz_update_6414 in Quiz 6.4

Implementation of hood_update_N

Allow negative score values.

File

./quiz.install, line 223
Quiz install schema for installing the quiz module

Code

function quiz_update_6414() {
  $results = array();
  db_change_field($results, 'quiz_node_results_answers', 'points_awarded', 'points_awarded', array(
    'type' => 'int',
    'size' => 'tiny',
    'unsigned' => FALSE,
    'not null' => TRUE,
    'default' => 0,
  ));
  return $results;
}