From: Matthias Schmidt Date: Fri, 7 Jun 2013 16:55:06 +0000 (+0200) Subject: Adds languageID to wcf1_search_index's unique key X-Git-Tag: 2.0.0_Beta_4~106^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40381db00dd0182abbff2922406a9222dd4e8141;p=GitHub%2FWoltLab%2FWCF.git Adds languageID to wcf1_search_index's unique key --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index f3d518a35d..bb9c5f5e59 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -758,7 +758,7 @@ CREATE TABLE wcf1_search_index ( userID INT(10), username VARCHAR(255) NOT NULL DEFAULT '', languageID INT(10), - UNIQUE KEY (objectTypeID, objectID), + UNIQUE KEY (objectTypeID, objectID, languageID), FULLTEXT INDEX fulltextIndex (subject, message, metaData), FULLTEXT INDEX fulltextIndexSubjectOnly (subject), KEY (userID, objectTypeID, time)