Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

Creating groups and members [closed]

$
0
0

Is this a good idea to manage members of a group like so:

*Assuming members can belong to one group and no other

*Simplified model

Group:
  name
  someid

User:
  name
  ForeignKey(Group)
  state #integer 0-no group 1-waiting for approval from a group admin 2-belong to an group

Something like facebook groups


Viewing all articles
Browse latest Browse all 1138

Trending Articles