mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
New version (2003113000), Analysis of Assessments added.
This commit is contained in:
parent
c2d27ab6a6
commit
285b8f7fef
6 changed files with 559 additions and 55 deletions
|
@ -65,7 +65,17 @@ function workshop_upgrade($oldversion) {
|
|||
execute_sql("INSERT INTO `{$CFG->prefix}log_display` VALUES ('workshop', 'view', 'workshop', 'name')");
|
||||
execute_sql("INSERT INTO `{$CFG->prefix}log_display` VALUES ('workshop', 'update', 'workshop', 'name')");
|
||||
}
|
||||
|
||||
|
||||
if ($oldversion < 2003113000) {
|
||||
execute_sql("ALTER TABLE `{$CFG->prefix}workshop` ADD `teacherloading` tinyint(3) unsigned
|
||||
NOT NULL default '5'");
|
||||
execute_sql("ALTER TABLE `{$CFG->prefix}workshop` ADD `assessmentstodrop` tinyint(3) unsigned
|
||||
NOT NULL default '0'");
|
||||
execute_sql("ALTER TABLE `{$CFG->prefix}workshop_assessments` ADD `donotuse` tinyint(3) unsigned
|
||||
NOT NULL default '0' AFTER `resubmission`");
|
||||
execute_sql("ALTER TABLE `{$CFG->prefix}workshop_grades` ADD INDEX (`assessmentid`)");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@ CREATE TABLE `prefix_workshop` (
|
|||
`biasweight` tinyint(3) unsigned NOT NULL default '5',
|
||||
`reliabilityweight` tinyint(3) unsigned NOT NULL default '5',
|
||||
`gradingweight` tinyint(3) unsigned NOT NULL default '5',
|
||||
`teacherloading` tinyint(3) unsigned NOT NULL default '5',
|
||||
`assessmentstodrop` tinyint(3) unsigned NOT NULL default '0',
|
||||
`showleaguetable` tinyint(3) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) COMMENT='Defines workshop';
|
||||
|
@ -73,6 +75,7 @@ CREATE TABLE `prefix_workshop_assessments` (
|
|||
`gradinggrade` int(3) NOT NULL default '0',
|
||||
`mailed` tinyint(3) unsigned NOT NULL default '0',
|
||||
`resubmission` tinyint(3) unsigned NOT NULL default '0',
|
||||
`donotuse` tinyint(3) unsigned NOT NULL default '0',
|
||||
`generalcomment` text NOT NULL,
|
||||
`teachercomment` text NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue