From: moodler Date: Wed, 5 Jan 2005 17:47:01 +0000 (+0000) Subject: Er, made a typo myself. This works now. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d6d080e26c7268cd684d9a98a22a89bc414f8db5;p=moodle.git Er, made a typo myself. This works now. --- diff --git a/mod/quiz/db/mysql.php b/mod/quiz/db/mysql.php index 1ff0ec9571..c5eee5a24b 100644 --- a/mod/quiz/db/mysql.php +++ b/mod/quiz/db/mysql.php @@ -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) { diff --git a/mod/quiz/db/postgres7.php b/mod/quiz/db/postgres7.php index d34fcb4d38..2e9dcefa2c 100644 --- a/mod/quiz/db/postgres7.php +++ b/mod/quiz/db/postgres7.php @@ -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) {