From 4131f8923b7aae039c99bed0930fa3759157ea19 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 22 Mar 2005 05:36:07 +0000 Subject: [PATCH] Another fix for my old fix for a postgres constraint that was missing a prefix. This time we don't create it with the silly name in the first place --- 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 6eb5b789f61..ca67fd5f2fc 100644 --- a/mod/quiz/db/postgres7.php +++ b/mod/quiz/db/postgres7.php @@ -180,7 +180,7 @@ function quiz_upgrade($oldversion) { category INT8 NOT NULL default '0', userid INT8 NOT NULL default '0', datasetnumber INT8 NOT NULL default '0', - CONSTRAINT category UNIQUE (category,userid) + CONSTRAINT prefix_quiz_attemptonlast_datasets_category_userid UNIQUE (category,userid) ) ;"); modify_database ("", " CREATE TABLE prefix_quiz_dataset_definitions (