]> git.mjollnir.org Git - moodle.git/commitdiff
Er, made a typo myself. This works now.
authormoodler <moodler>
Wed, 5 Jan 2005 17:47:01 +0000 (17:47 +0000)
committermoodler <moodler>
Wed, 5 Jan 2005 17:47:01 +0000 (17:47 +0000)
mod/quiz/db/mysql.php
mod/quiz/db/postgres7.php

index 1ff0ec95714376d1c370017b2ba297a51f061d94..c5eee5a24bde2d54a31c0f32d51faa589f3c647b 100644 (file)
@@ -298,8 +298,8 @@ function quiz_upgrade($oldversion) {
     }
 
     if ($oldversion < 2005010201) {
-        table_column('quiz_categories', '', 'parent', 'integer');
-        table_column('quiz_categories', '', 'sortorder', 'integer', '', '', '999');
+        table_column('quiz_categories', '', 'parent');
+        table_column('quiz_categories', '', 'sortorder', 'integer', '10', '', '999');
     }
 
     if ($oldversion < 2005010300) {
index d34fcb4d3826d0224abd2656894f0464284b0400..2e9dcefa2c5babdb1331cce45e85045d7502a2b2 100644 (file)
@@ -283,8 +283,8 @@ function quiz_upgrade($oldversion) {
     }
 
     if ($oldversion < 2005010201) {
-        table_column('quiz_categories', '', 'parent', 'integer');
-        table_column('quiz_categories', '', 'sortorder', 'integer', '', '', '999');
+        table_column('quiz_categories', '', 'parent');
+        table_column('quiz_categories', '', 'sortorder', 'integer', '10', '', '999');
     }
 
     if ($oldversion < 2005010300) {