remove oneToMany and manyToMany relationships