From: Tim Düsterhus Date: Tue, 16 Aug 2016 14:52:06 +0000 (+0200) Subject: Add KEY for wcf1_user_storage.field X-Git-Tag: 3.0.0_Beta_1~736^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=16de8cc5e5a2d7ebc42855b7bb9004a1c4c0f572;p=GitHub%2FWoltLab%2FWCF.git Add KEY for wcf1_user_storage.field see UserStorageHandler::resetAll() --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 943433413f..dbffcf1581 100644 --- 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;