New version (2003113000), Analysis of Assessments added.

This commit is contained in:
rkingdon 2003-12-01 12:19:48 +00:00
parent c2d27ab6a6
commit 285b8f7fef
6 changed files with 559 additions and 55 deletions

View file

@ -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;
}