how to design a db like Facebook where users can update their status and of the fb page as admin
Posted
by Harsha M V
on Stack Overflow
See other posts from Stack Overflow
or by Harsha M V
Published on 2010-06-14T12:13:57Z
Indexed on
2010/06/15
8:22 UTC
Read the original article
Hit count: 144
i am designing a database where users can update status messages of theirs and they can create pages groups like facebook fan page and post status like the admin of the page and not as a user.
user(id, name..)
group(id, name...)
group_admin(group_id, user_id)
this is my set up. Is this the way to do it. How to post under the group as an admin. will i need to make a check to every user if he is the admin or not ?
© Stack Overflow or respective owner