psgdpr
psgdpr copied to clipboard
Include id_shop in the primary key on table psgdpr_consent_lang
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. |