productcomments icon indicating copy to clipboard operation
productcomments copied to clipboard

Use on delete cascade on foreign keys

Open lmeyer1 opened this issue 4 months ago • 6 comments

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

lmeyer1 avatar Feb 29 '24 14:02 lmeyer1