You are here

function quiz_update_7516 in Quiz 7.5

Adding a display_number field to the question layout.

File

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

Code

function quiz_update_7516() {
  db_add_field('quiz_node_results_answers', 'display_number', array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => FALSE,
    'default' => NULL,
    'description' => 'The display number of the question in the result.',
  ));
}