function quiz_update_7503 in Quiz 7.5
Same name and namespace in other branches
- 7.6 quiz.install \quiz_update_7503()
Add new qnr_pid field to the quiz_node_relationship table.
File
- ./
quiz.install, line 907 - 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.');
}