Open tonyalletag opened 9 years ago
So this seems to be that there will be two types of users: Users and Artists Would it also be true that a User can be an Artist?
Yes lets do roles and allow users to have multiple roles Possible Roles: Fan Artist Host (Or Venue Host) Admin
So I am thinking this for the User_Roles table:
Name | Role |
---|---|
a@a.com | Fan |
a@a.com | Artist |
and this as the "standard" graph representation in MySQL ( connections ):
Start_Node | Destination_Node |
---|---|
a@a.com | b@b.com |
a@a.com | c@c.com |
The current format of the email mentioned below is: Subject: A FanMobi gift from
Body: The body provided by the artist in their profile
Send an email to the user (if the user provides their email address) containing the gift message (if the artist provides a gift message).
Create/break a relationship between the user object (as defined by unique email address) and the artist object in the database upon connect/disconnect. This will allow the artist to quickly see how many users are following them as well as allow them access to the email addresses of those users if we go down that path.