Fix constraint error in Doctrine. Database needs to be recreated.