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:
cb0e6a8
)
Add KEY for wcf1_user_storage.field
author
Tim Düsterhus
<duesterhus@woltlab.com>
Tue, 16 Aug 2016 14:52:06 +0000
(16:52 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Tue, 16 Aug 2016 14:56:02 +0000
(16:56 +0200)
see UserStorageHandler::resetAll()
wcfsetup/setup/db/install.sql
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/setup/db/install.sql
b/wcfsetup/setup/db/install.sql
index 943433413fb4e346f543d2eb2198c9ff5df92d9c..dbffcf1581e329763c5a2892bd1d110c6a0dfbe8 100644
(file)
--- a/
wcfsetup/setup/db/install.sql
+++ b/
wcfsetup/setup/db/install.sql
@@
-1617,7
+1617,8
@@
CREATE TABLE wcf1_user_storage (
userID INT(10) NOT NULL,
field VARCHAR(80) NOT NULL DEFAULT '',
fieldValue MEDIUMTEXT,
- UNIQUE KEY userStorageData (userID, field)
+ UNIQUE KEY (userID, field),
+ KEY (field)
);
DROP TABLE IF EXISTS wcf1_user_to_group;