function quiz_update_7409 in Quiz 7.4
Same name and namespace in other branches
- 7.6 quiz.install \quiz_update_7409()
- 7.5 quiz.install \quiz_update_7409()
Adding userpoints tid column
File
- ./
quiz.install, line 802 - Quiz install schema for installing the quiz module
Code
function quiz_update_7409(&$sandbox) {
$table = 'quiz_node_properties';
$schema = drupal_get_schema_unprocessed('quiz', $table);
foreach (array(
'userpoints_tid',
) as $field) {
db_add_field($table, $field, $schema['fields'][$field]);
}
return t('Adding userpoints tid column to quiz_node_properties');
}