mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue