Delete a parent record and its associated child records
Delete a parent record and its associated child records from a many-to-many relationship without encountering a MySQL foreign key constraint violation (without using the cascadeOnDelete ) iwant to do it manually