You are here

function quiz_update_7100 in Quiz 8.4

Same name and namespace in other branches
  1. 7.6 quiz.install \quiz_update_7100()
  2. 7.4 quiz.install \quiz_update_7100()
  3. 7.5 quiz.install \quiz_update_7100()

File

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

Code

function quiz_update_7100(&$sandbox) {
  db_add_field('quiz_node_properties', 'show_passed', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 1,
    'size' => 'tiny',
  ));
  return t('Show passed field added to quiz config.');
}