Doctrine 1

sometimes not all the constraints are created for a many to many relation