Welcome Guest, Not a member yet? Register   Sign In
Database schema for social network members table
#7

[eluser]jedd[/eluser]
Fairy nuff. On the table I described, you'd still (of course) need a WHERE clause that allowed for user id in person1 OR person2 .. but the distinction between originating versus target person was necessarily blurred. I haven't done this in a Real Live System before, but am doing similar things with other types of data in my current project.

The naming you used indicated an owner of the relationship - which might be of interest (who established the connection, I mean) though it's probably not a hugely important piece of data to retain for friendly social networks.


Messages In This Thread
Database schema for social network members table - by El Forum - 10-16-2009, 07:32 AM
Database schema for social network members table - by El Forum - 10-16-2009, 07:41 AM
Database schema for social network members table - by El Forum - 10-19-2009, 05:43 PM
Database schema for social network members table - by El Forum - 10-19-2009, 07:26 PM
Database schema for social network members table - by El Forum - 10-19-2009, 08:09 PM
Database schema for social network members table - by El Forum - 10-19-2009, 08:16 PM
Database schema for social network members table - by El Forum - 10-19-2009, 08:25 PM
Database schema for social network members table - by El Forum - 10-19-2009, 09:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB