mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Various quiz changes. Most importantly is the new framework for importing
quiz questions. Importing works but is still being tested.
This commit is contained in:
parent
4270bba267
commit
49220fa70c
15 changed files with 695 additions and 152 deletions
|
@ -36,9 +36,9 @@ function quiz_upgrade($oldversion) {
|
|||
}
|
||||
|
||||
if ($oldversion < 2003010301) {
|
||||
table_column("quiz_truefalse", "true", "trueanswer", "INTEGER", "UNSIGNED", "0", "NOT NULL", "");
|
||||
table_column("quiz_truefalse", "false", "falseanswer", "INTEGER", "UNSIGNED", "0", "NOT NULL", "");
|
||||
table_column("quiz_questions", "type", "qtype", "INTEGER", "UNSIGNED", "0", "NOT NULL", "");
|
||||
table_column("quiz_truefalse", "true", "trueanswer", "INTEGER", "10", "UNSIGNED", "0", "NOT NULL", "");
|
||||
table_column("quiz_truefalse", "false", "falseanswer", "INTEGER", "10", "UNSIGNED", "0", "NOT NULL", "");
|
||||
table_column("quiz_questions", "type", "qtype", "INTEGER", "10", "UNSIGNED", "0", "NOT NULL", "");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue