> SQLSTATE[23000]:integrity constrant violation: 1217: Cannot delete or update a parent row: a foreign key constraint fails The order of the tables while removing seems to be important.
The order of the tables while removing seems to be important.