Skip to main content

EventRSVP

The EventRSVP model tracks which users have RSVP’d (joined) specific events within a world. Each record represents a user's attendance for a particular event.

Fields

FieldTypeAttributesDescription
idString@id, @default(cuid())Unique RSVP ID
eventIdStringID of the event being RSVP’d
userIdStringID of the user who RSVP’d
eventEvent@relationThe event this RSVP is for
userUser@relationThe user who RSVP’d

Relationships

  • EventRSVP belongs to an Event (eventId).
  • EventRSVP belongs to a User (userId).

Example Record

{
"id": "rsvp1",
"eventId": "event1",
"userId": "user789",
"event": {
"id": "event1",
"name": "Boss Raid"
},
"user": {
"id": "user789",
"username": "player2"
}
}