From: Tim Düsterhus Date: Tue, 16 Aug 2016 14:58:07 +0000 (+0200) Subject: Add KEY for wcf1_clipboard_item.userID X-Git-Tag: 3.0.0_Beta_1~736^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=62312370b7ce7010907a70791b0dacb762d332b6;p=GitHub%2FWoltLab%2FWCF.git Add KEY for wcf1_clipboard_item.userID see ClipboardHandler::loadMarkedItems() --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 9473072e7b..d42a6c78ea 100644 --- 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;