fix генерация many-to-many