You are here

function quiz_update_7503 in Quiz 7.6

Same name and namespace in other branches
  1. 7.5 quiz.install \quiz_update_7503()

Add new qnr_pid field to the quiz_node_relationship table.

File

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

Code

function quiz_update_7503() {
  $spec = array(
    'type' => 'int',
    'size' => 'normal',
    'unsigned' => TRUE,
    'not null' => FALSE,
    'default' => NULL,
  );
  db_add_field('quiz_node_relationship', 'qnr_pid', $spec);
  return t('Added new qnr_pid field to the quiz_node_relationship table.');
}