projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
210ef57
)
Added a unique key to `wcf1_user.username`
author
Marcel Werk
<burntime@woltlab.com>
Sat, 15 Aug 2020 14:16:03 +0000
(16:16 +0200)
committer
Marcel Werk
<burntime@woltlab.com>
Sat, 15 Aug 2020 14:16:03 +0000
(16:16 +0200)
Closes #3494
wcfsetup/setup/db/install.sql
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/setup/db/install.sql
b/wcfsetup/setup/db/install.sql
index 56a4a06e11b1ed7a871929d3b9c459ff22df4c1a..61c9352cabe8631f9f4229371fccaebead8b65b9 100644
(file)
--- a/
wcfsetup/setup/db/install.sql
+++ b/
wcfsetup/setup/db/install.sql
@@
-1502,7
+1502,7
@@
CREATE TABLE wcf1_user (
articles INT(10) NOT NULL DEFAULT 0,
blacklistMatches VARCHAR(255) NOT NULL DEFAULT '',
- KEY username (username),
+
UNIQUE
KEY username (username),
KEY email (email),
KEY registrationDate (registrationDate),
KEY styleID (styleID),