Include id_shop in the primary key on table psgdpr_consent_lang - #230
Include id_shop in the primary key on table psgdpr_consent_lang#230lmeyer1 wants to merge 1 commit into
Conversation
|
Re-verified on PrestaShop 9.2.0, psgdpr at Before: After: the The failure the two-column key produces, run against MySQL 8 on a copy of the table holding one row per shop: Separate findings from the same dump, not covered by this PR - the mapping diverges from the install SQL in four more places, three of which also fail rather than merely differ:
Worth noting for anyone fixing that part: Doctrine's |
sql/install/psgdpr_consent_lang.sql). The Doctrine/ORM annotations must reflect this. Add id_shop in PK in annotationsphp bin/console doctrine:schema:update --dump-sqlbefore and after. Notice that the incorrect query concerning the PK of psgdpr_consent_lang disappears.