Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AttendeeSchema = new Schema(
user_id:
type: Schema.Types.ObjectId
ref: 'User'
event_id:
type: Schema.Types.ObjectId
ref: 'Event'
like:
type: Boolean
default: false
reasons: [String]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.