]> git.mjollnir.org Git - moodle.git/commitdiff
Added timeaggregated time stamp
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 18:10:52 +0000 (18:10 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 18:10:52 +0000 (18:10 +0000)
mod/workshop/db/install.xml
mod/workshop/version.php

index 790b97373397195994c65e866a7cccbde29d0a80..c47c06d2192290e1cd97d731c2b5ebcd21f84536 100644 (file)
         <FIELD NAME="userid" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="false" COMMENT="The id of the user which aggregated grades are calculated for" PREVIOUS="workshopid" NEXT="submissiongrade"/>
         <FIELD NAME="submissiongrade" TYPE="number" LENGTH="10" NOTNULL="false" UNSIGNED="true" SEQUENCE="false" DECIMALS="5" COMMENT="The grade for submission" PREVIOUS="userid" NEXT="gradinggrade"/>
         <FIELD NAME="gradinggrade" TYPE="number" LENGTH="10" NOTNULL="false" UNSIGNED="true" SEQUENCE="false" DECIMALS="5" COMMENT="The aggregated grade for all assessments made by this reviewer. The grade is a number from interval 0..100. If NULL then the grade for assessments has not been aggregated yet." PREVIOUS="submissiongrade" NEXT="totalgrade"/>
-        <FIELD NAME="totalgrade" TYPE="number" LENGTH="10" NOTNULL="false" UNSIGNED="true" SEQUENCE="false" DECIMALS="5" COMMENT="The total grade for this workshop to be pushed into the gradebook" PREVIOUS="gradinggrade"/>
+        <FIELD NAME="totalgrade" TYPE="number" LENGTH="10" NOTNULL="false" UNSIGNED="true" SEQUENCE="false" DECIMALS="5" COMMENT="The total grade for this workshop to be pushed into the gradebook" PREVIOUS="gradinggrade" NEXT="timeaggregated"/>
+        <FIELD NAME="timeaggregated" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="false" COMMENT="The timestamp of when the participant's grades were recently aggregated. If there are some modifications of the assessment after this time, the aggregation shall be marked as possibly out-dated" PREVIOUS="totalgrade"/>
       </FIELDS>
       <KEYS>
         <KEY NAME="primary" TYPE="primary" FIELDS="id" NEXT="workshop_fk"/>
index 7314a35174c8e36dba41cc0a41279cdaca01f133..5c18eb66da3684ae27ac0ffbad77d5e825c8d1de 100644 (file)
@@ -28,6 +28,6 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$module->version  = 2009092800;
+$module->version  = 2009092801;
 $module->requires = 2009090400;  // Requires this Moodle version
 $module->cron     = 60;