]> git.mjollnir.org Git - moodle.git/commitdiff
Fixing the type for grades to number(10,5)
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:54:13 +0000 (17:54 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:54:13 +0000 (17:54 +0000)
mod/workshop/db/install.xml
mod/workshop/version.php

index fa7a3623a7913a430b19c11d6e0bc37bef733595..8555b3e2d6307ff1128ec12204e3bd01e9de0a71 100644 (file)
@@ -16,8 +16,8 @@
         <FIELD NAME="useexamples" TYPE="int" LENGTH="2" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="optional feature: students practise evaluating on example submissions from teacher" PREVIOUS="phase" NEXT="usepeerassessment"/>
         <FIELD NAME="usepeerassessment" TYPE="int" LENGTH="2" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="optional feature: students perform peer assessment of others' work" PREVIOUS="useexamples" NEXT="useselfassessment"/>
         <FIELD NAME="useselfassessment" TYPE="int" LENGTH="2" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="optional feature: students perform self assessment of their own work" PREVIOUS="usepeerassessment" NEXT="grade"/>
-        <FIELD NAME="grade" TYPE="int" LENGTH="5" NOTNULL="false" UNSIGNED="true" DEFAULT="80" SEQUENCE="false" COMMENT="The maximum grade for submission" PREVIOUS="useselfassessment" NEXT="gradinggrade"/>
-        <FIELD NAME="gradinggrade" TYPE="int" LENGTH="5" NOTNULL="false" UNSIGNED="true" DEFAULT="20" SEQUENCE="false" COMMENT="The maximum grade for assessment" PREVIOUS="grade" NEXT="strategy"/>
+        <FIELD NAME="grade" TYPE="number" LENGTH="10" NOTNULL="false" UNSIGNED="true" DEFAULT="80" SEQUENCE="false" DECIMALS="5" COMMENT="The maximum grade for submission" PREVIOUS="useselfassessment" NEXT="gradinggrade"/>
+        <FIELD NAME="gradinggrade" TYPE="number" LENGTH="10" NOTNULL="false" UNSIGNED="true" DEFAULT="20" SEQUENCE="false" DECIMALS="5" COMMENT="The maximum grade for assessment" PREVIOUS="grade" NEXT="strategy"/>
         <FIELD NAME="strategy" TYPE="char" LENGTH="30" NOTNULL="true" SEQUENCE="false" COMMENT="The type of the current grading strategy used in this workshop" PREVIOUS="gradinggrade" NEXT="nattachments"/>
         <FIELD NAME="nattachments" TYPE="int" LENGTH="3" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="Number of required submission attachments" PREVIOUS="strategy" NEXT="latesubmissions"/>
         <FIELD NAME="latesubmissions" TYPE="int" LENGTH="2" NOTNULL="false" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="Allow submitting the work after the deadline" PREVIOUS="nattachments" NEXT="maxbytes"/>
index 25ad276fbc0cea633ed9602d02f914e12f5f2575..806ba25210a587828402330267112230c0298fd7 100644 (file)
@@ -28,6 +28,6 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$module->version  = 2009080400;
-$module->requires = 2009073101;  // Requires this Moodle version
+$module->version  = 2009081300;
+$module->requires = 2009080700;  // Requires this Moodle version
 $module->cron     = 60;