]> git.mjollnir.org Git - moodle.git/commitdiff
Introduce field for teacher comments, in preparation for manual grading. I am afraid...
authorgustav_delius <gustav_delius>
Fri, 7 Apr 2006 05:28:18 +0000 (05:28 +0000)
committergustav_delius <gustav_delius>
Fri, 7 Apr 2006 05:28:18 +0000 (05:28 +0000)
mod/quiz/db/mysql.sql
mod/quiz/db/postgres7.sql

index 733207a4a708aadeed27322a792094d5cbadbf48..9190eadd487044b594fe9af0044c00cbf71df9f8 100644 (file)
@@ -169,6 +169,7 @@ CREATE TABLE prefix_question_sessions (
   newest int(10) unsigned NOT NULL default '0',
   newgraded int(10) unsigned NOT NULL default '0',
   sumpenalty float NOT NULL default '0',
+  comment text NOT NULL default '',
   PRIMARY KEY  (id),
   UNIQUE KEY attemptid (attemptid,questionid)
 ) TYPE=MyISAM COMMENT='Gives ids of the newest open and newest graded states';
index 08fb04c0ec602de1a3d6198136a9a26c56eb7f07..5e42aeddc758b823e8bbd6fbd4ed5dd5cf89b103 100644 (file)
@@ -165,7 +165,8 @@ CREATE TABLE prefix_question_sessions (
   questionid integer NOT NULL default '0',
   newest integer NOT NULL default '0',
   newgraded integer NOT NULL default '0',
-  sumpenalty real NOT NULL default '0'
+  sumpenalty real NOT NULL default '0',
+  comment text NOT NULL default '',
 );
 
 CREATE UNIQUE INDEX prefix_question_sessions_attempt_idx ON prefix_question_sessions (attemptid,questionid);