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

This commit is contained in:
mjollnir_
2005-03-22 05:36:07 +00:00
parent 94fae211d9
commit 4131f8923b
+1 -1
View File
@@ -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 (