From d6d080e26c7268cd684d9a98a22a89bc414f8db5 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 5 Jan 2005 17:47:01 +0000 Subject: [PATCH] Er, made a typo myself. This works now. --- mod/quiz/db/mysql.php | 4 ++-- mod/quiz/db/postgres7.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.39.5