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:
6efc464
)
Add KEY for wcf1_clipboard_item.userID
author
Tim Düsterhus
<duesterhus@woltlab.com>
Tue, 16 Aug 2016 14:58:07 +0000
(16:58 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Tue, 16 Aug 2016 14:58:07 +0000
(16:58 +0200)
see ClipboardHandler::loadMarkedItems()
wcfsetup/setup/db/install.sql
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/setup/db/install.sql
b/wcfsetup/setup/db/install.sql
index 9473072e7b3a9f684eb5ea59f97940a1f913fd1f..d42a6c78ea51389616ff7d50d4b890426a4a9b0a 100644
(file)
--- a/
wcfsetup/setup/db/install.sql
+++ b/
wcfsetup/setup/db/install.sql
@@
-355,7
+355,8
@@
CREATE TABLE wcf1_clipboard_item (
objectTypeID INT(10) NOT NULL DEFAULT 0,
userID INT(10) NOT NULL DEFAULT 0,
objectID INT(10) NOT NULL DEFAULT 0,
- UNIQUE KEY (objectTypeID, userID, objectID)
+ UNIQUE KEY (objectTypeID, userID, objectID),
+ KEY (userID)
);
DROP TABLE IF EXISTS wcf1_clipboard_page;