Closed Bug 1026677 Opened 12 years ago Closed 12 years ago

Add Attendees table & model to events-service

Categories

(Webmaker Graveyard :: Events, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jon, Assigned: gvn)

References

Details

(Whiteboard: [events] [june27] [events-rsvp])

Attachments

(2 files)

We're adding an Attendees table that both the rsvp and mentor/co-organizers feature will share. It'll be kinda like: INTEGER event_id INTEGER user_id BOOLEAN didRSVP BOOLEAN didAttend BOOLEAN isMentor BOOLEAN isCoorganizer (better name would be awesome)
Whiteboard: [june27][events-mentor][events-rsvp] → [events] [june27] [events-mentor] [events-rsvp]
Note that there's a new field in the Event model too.
Attachment #8441743 - Flags: review?(jon)
Blocks: 1003508
Blocks: 1003510
Comment on attachment 8441743 [details] [review] https://github.com/mozilla/webmaker-events-service/pull/27 r- with notes in the PR. :gvn - Could you create a separate PR with just the content of `models/`? That stuff is nearly ready to go, so we can land that now, and work through the rest of the controllers more easily
Attachment #8441743 - Flags: review?(jon) → review-
Attachment #8442377 - Flags: review?(jon) → review+
Attachment #8441743 - Flags: review- → review?(jon)
Comment on attachment 8441743 [details] [review] https://github.com/mozilla/webmaker-events-service/pull/27 Overall this looks good, but I was able to rsvp for events that don't exist yet: repos curl -XPOST 'http://localhost:1989/rsvp/?eventid=21&userid=3' -H 'Cookie: <cookie>' Where event 21 isn't a real event.
Attachment #8441743 - Flags: review?(jon)
Attachment #8441743 - Flags: review-
Attachment #8441743 - Flags: review+
Whiteboard: [events] [june27] [events-mentor] [events-rsvp] → [events] [june27] [events-rsvp]
Attachment #8441743 - Flags: review- → review?(cade)
Attachment #8441743 - Flags: review?(cade) → review+
Landed on master. Not yet deployed.
Jbuck, can you do the DB schema migrations? (Or maybe you already did?)
Flags: needinfo?(jon)
All set on staging, waiting on prod until next week.
Flags: needinfo?(jon)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: