
Untitled
By: a guest on
May 20th, 2012 | syntax:
None | size: 0.53 KB | hits: 12 | expires: Never
How would I design this MySQL schema?
User table
------------
UserId
Name
UserAttribute table
---------------------
UserId
AttributeId
Value
Attribute table
------------------
AttributeId
AttributeName
Users Table
-----------
UserId
RelationshipId
StatusId
WorkId
HometownId
SchoolId
Relationships Table
-----------
RelationshipId
RelationshipText
User
UserId
Name
OtherRelativelyStraighforwardUserInformation
Attribute
AttributeId
AttributeText
UserAttributes
UserId
AttributeId
Value