Fixing postgres bug on unique constraint

This commit is contained in:
mjollnir_
2004-12-21 18:24:50 +00:00
parent 9a1101fa6c
commit 7bd05dc10e
+1 -2
View File
@@ -248,8 +248,7 @@ CREATE TABLE prefix_user (
maildisplay integer NOT NULL default '2',
htmleditor integer NOT NULL default '1',
autosubscribe integer NOT NULL default '1',
timemodified integer NOT NULL default '0',
CONSTRAINT prefix_user_username_uk UNIQUE (username)
timemodified integer NOT NULL default '0'
);
CREATE UNIQUE INDEX prefix_user_username_uk ON prefix_user (username);