From: Tim Düsterhus Date: Tue, 9 Feb 2021 08:30:09 +0000 (+0100) Subject: Document the deprecation of wcf1_tag_to_object.languageID (#128) X-Git-Tag: 5.6.final~310 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1b0bf22faaa27218b69038f706b8f46d887268d0;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Document the deprecation of wcf1_tag_to_object.languageID (#128) Resolves #127 Co-authored-by: Matthias Schmidt --- diff --git a/docs/migration/wsc53/php.md b/docs/migration/wsc53/php.md index 98bb62d7..85cbf2cf 100644 --- a/docs/migration/wsc53/php.md +++ b/docs/migration/wsc53/php.md @@ -88,3 +88,13 @@ The internal SCSS compiler object being stored in the `$compiler` property was a As the removal of the `$compiler` property effectively broke compatibility within the `StyleCompiler` and as the `StyleCompiler` never was meant to be extended, it was marked final. See [WoltLab/WCF#3929](https://github.com/WoltLab/WCF/pull/3929) for details. + +## Tags + +Use of the `wcf1_tag_to_object.languageID` column is deprecated. +The `languageID` column is redundant, because its value can be derived from the `tagID`. +With WoltLab Suite 5.4, it will no longer be part of any indices, allowing more efficient index usage in the general case. + +If you need to filter the contents of `wcf1_tag_to_object` by language, you should perform an `INNER JOIN wcf1_tag tag ON tag.tagID = tag_to_object.tagID` and filter on `wcf1_tag.languageID`. + +See [WoltLab/WCF#3904](https://github.com/WoltLab/WCF/pull/3904) for details.