psgdpr icon indicating copy to clipboard operation
psgdpr copied to clipboard

Include id_shop in the primary key on table psgdpr_consent_lang

Open lmeyer1 opened this issue 11 months ago • 0 comments

Questions Answers
Description? In the table psgdpr_consent_lang, the field id_shop is included in the primary key (see sql/install/psgdpr_consent_lang.sql). The Doctrine/ORM annotations must reflect this. Add id_shop in PK in annotations
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? Fixes PrestaShop/PrestaShop#35521
Sponsor company Société Biblique de Genève
How to test? Run php bin/console doctrine:schema:update --dump-sql before and after. Notice that the incorrect query concerning the PK of psgdpr_consent_lang disappears.

lmeyer1 avatar Feb 29 '24 13:02 lmeyer1