From f45ea97457c28fcca4ad9e09a40b2cf872541d38 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Sun, 19 Jun 2005 21:38:39 +0000 Subject: [PATCH] Merged from MOODLE_15_STABLE: Fixing postgres upgrade to match postgres7.sql (bug 3547) --- mod/quiz/db/postgres7.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/db/postgres7.php b/mod/quiz/db/postgres7.php index 92c9784e168..9cc706fbf90 100644 --- a/mod/quiz/db/postgres7.php +++ b/mod/quiz/db/postgres7.php @@ -531,7 +531,7 @@ function quiz_upgrade($oldversion) { flags integer NOT NULL default '0' );"); - modify_database ('', "CREATE UNIQUE INDEX prefix_quiz_rqp_type_name_uk ON prefix_quiz_rqp_type (name);"); + modify_database ('', "CREATE UNIQUE INDEX prefix_quiz_rqp_types_name_uk ON prefix_quiz_rqp_types (name);"); commit_sql(); }