Permalink
Browse files

Fixing postgres bug on unique constraint

  • Loading branch information...
1 parent 9a1101f commit 7bd05dc10e05a314b292af81d7101498a4f73fae mjollnir_ committed Dec 21, 2004
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/db/postgres7.sql
View
3 lib/db/postgres7.sql
@@ -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);

0 comments on commit 7bd05dc

Please sign in to comment.