ios - CoreData - many-to-many relationship with priorities -
i have conceptual question db schema. have 2 entities: team , member.
1.member can belong many teams,
2.team can have many members.
so it's many-to-many relationship , i've implemented successfully. client wants have ordered members within team. member can have priority in 1 team different in other.
how implemented db schema should like? considering 2 options:
- with minimum work effort
- the proper solution
any hints more welcome. thanks.
you should create new table, eg membersort, has memberid, teamid , position. way, can determine position both member , team key , position.

Comments
Post a Comment