Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize db schema. #59

Open
jaybobo opened this issue Aug 26, 2016 · 3 comments
Open

Finalize db schema. #59

jaybobo opened this issue Aug 26, 2016 · 3 comments
Labels

Comments

@jaybobo
Copy link
Member

jaybobo commented Aug 26, 2016

question1
Does someone have a picture of the data model somewhere?

question2
How do we want to handle the relationships between Users, Pairs & Skills? It seems to me that Skills are a one-time resource that live for the length of an event.

question3
If so, should an event queue Users before they're put into pairs? I would think a User upon accessing an Organization's Event would need to select their Skill for theEvent, queue themselves and change their state to ready_for_pairing.

@jaybobo
Copy link
Member Author

jaybobo commented Aug 29, 2016

cc: @cartoloupe @TravisSperry

@TravisSperry
Copy link

Q1-I don't know if anyone photographed the sketch of the data model... spammed Slack

Q2-I found myself putting in the the same if not similar skills each week... Maybe there's a many_to_many on skills and users. Then when someone joins an event they can specify the skills (teaching/learning) for that particular event? <-- @jaybobo said this in Q3

Q3- Who starts en event? Or does it start automatically? Are people who RSVP'd for an event automatically added? Are they sent an email asking if they want to join? <-- The last seems like it might be the best option.

Basic Start of Event Flow
-User gets email asking if they want to join an event they rsvp'd for. They receive a link to go to the event's page...
-On the event page the user could click button to join event. Prior to confirming they're joining they can select the skills they would like to teach and or learn. Confirm, and they are added to the event.
-Users wouldn't be added to an event until they confirm skills and join. Up until then they might just be interested?

@cartoloupe
Copy link
Member

Q1 - I think I saw a few people take pictures of the board. I will work on some failing tests that will drive what I remember of the board.

Q2 - This makes sense so far. Since Skills are a one-time resource for Event, maybe they should be recorded at the Event level, or the Pairs level? If so, it seems like they would be connected to a User through Event.

Q3 - These are good questions; they're helping define the workflow. I think every Event needs to have an organizer (a type of User) who starts it.

I like the RSVP -> event auto-add, and the RSVP -> email options. I think email would work best too, because the time between the RSVP and the event, the user might have a change of plans.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants