Add optional exam sheet metadata
This commit is contained in:
@@ -3,6 +3,9 @@ CREATE TABLE IF NOT EXISTS `#__testquestions_questions` (
|
||||
`category_id` int unsigned NOT NULL DEFAULT 0,
|
||||
`time_limit` smallint unsigned NOT NULL DEFAULT 60,
|
||||
`points` tinyint unsigned NOT NULL DEFAULT 1,
|
||||
`test_symbol` varchar(100) NOT NULL DEFAULT '',
|
||||
`exam_year` smallint unsigned NULL DEFAULT NULL,
|
||||
`question_number` smallint unsigned NULL DEFAULT NULL,
|
||||
`question_type` varchar(10) NOT NULL DEFAULT 'closed',
|
||||
`question` text NOT NULL,
|
||||
`answer_a` text NOT NULL,
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `#__testquestions_questions`
|
||||
ADD COLUMN `test_symbol` varchar(100) NOT NULL DEFAULT '' AFTER `points`,
|
||||
ADD COLUMN `exam_year` smallint unsigned NULL DEFAULT NULL AFTER `test_symbol`,
|
||||
ADD COLUMN `question_number` smallint unsigned NULL DEFAULT NULL AFTER `exam_year`;
|
||||
Reference in New Issue
Block a user