]> git.mjollnir.org Git - moodle.git/commitdiff
Fix faulty call to table_column
authormoodler <moodler>
Wed, 5 Jan 2005 17:42:57 +0000 (17:42 +0000)
committermoodler <moodler>
Wed, 5 Jan 2005 17:42:57 +0000 (17:42 +0000)
mod/quiz/db/mysql.php
mod/quiz/db/postgres7.php

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