From: Alexander Ebert Date: Sun, 11 Dec 2016 21:53:52 +0000 (+0100) Subject: Added composite index for modification log X-Git-Tag: 3.0.0_RC_1~36 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc4f07e76e516336feabea0caac5f079f8debdb0;p=GitHub%2FWoltLab%2FWCF.git Added composite index for modification log --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 14e6da4048..542e00ab22 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -706,7 +706,9 @@ CREATE TABLE wcf1_modification_log ( username VARCHAR(255) NOT NULL DEFAULT '', time INT(10) NOT NULL DEFAULT 0, action VARCHAR(80) NOT NULL, - additionalData MEDIUMTEXT + additionalData MEDIUMTEXT, + + KEY objectTypeAndID (objectTypeID, objectID) ); DROP TABLE IF EXISTS wcf1_notice;