prefix}exercise_submissions` ADD `late` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0'"); } if ($oldversion < 2004062300) { table_column("exercise", "", "gradinggrade", "INTEGER", "4", "UNSIGNED", "0", "NOT NULL", "grade"); table_column("exercise", "", "assessmentcomps", "INTEGER", "4", "UNSIGNED", "2", "NOT NULL", "usemaximum"); } if ($oldversion < 2004090200) { table_column("exercise", "", "usepassword", "INTEGER", "4", "UNSIGNED", "0", "NOT NULL"); table_column("exercise", "", "password", "VARCHAR", "32", "", "", "NOT NULL"); } if ($oldversion < 2004091000) { table_column("exercise_assessments","generalcomment","generalcomment","text","","","","NOT NULL"); table_column("exercise_assessments","teachercomment","teachercomment","text","","","","NOT NULL"); } return true; } ?>