Skip to content
Snippets Groups Projects
Commit fe13dd92 authored by Sivaji Ganesh Jojodae's avatar Sivaji Ganesh Jojodae
Browse files

Fixed #485454 New column time_left not added to the schema definition in quiz_schema.

parent 8abb82c0
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ class MatchingQuestion implements QuizQuestion {
$form['match'] = array(
'#type' => 'fieldset',
'#title' => t('Match Question')
'#title' => t('Match Question'),
);
for ($i = 1; $i <= variable_get('quiz_matching_form_size', 5); ++$i) {
......
......@@ -211,6 +211,12 @@ function quiz_schema() {
'not null' => TRUE,
'default' => 0
),
'time_left' => array(
'type' => 'int',
'size' => 'small',
'not null' => TRUE,
'default' => 0
),
),
'primary key' => array('property_id'),
// 'unique keys' => array('vid'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment