productcomments
productcomments copied to clipboard
Use on delete cascade on foreign keys
Questions | Answers |
---|---|
Description? | The foreign keys need on delete cascade in order to allow deletion of a product comment. |
Type? | bug fix |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | Fixes PrestaShop/Prestashop#35523. |
How to test? | Run php bin/console doctrine:schema:update --dump-sql and compare the output. Apply both versions of the SQL script to the DB and test for each the deletion of a product comment in the BO |