Merged from MOODLE_15_STABLE: Fixing postgres upgrade to match postgres7.sql (bug 3547)

This commit is contained in:
mjollnir_ 2005-06-19 21:38:39 +00:00
parent b71748a86c
commit f45ea97457

View File

@ -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();
}