I currently have a database in my project which has already been put in production. But I didn’t use constraints in the previous migrations. Now I have tables products, shops and an intermediate table product_shop. The problem is that if I delete any product, that has been put on some shop, the pivot is still kept in the intermediate table.
Tag: constraints
Symfony Form not showing correct error (pending on constellation)
I have an issue with the constrains-check of my form and the correct display of errors. describtion of problem The form has three checkboxes and two of them are mandatory to be checked by the user (accepting Terms and Conditions stuff). if only one of the mandatory checkboxes (either the first or the secound) is not checked, the error is