Skip to content

Commit

Permalink
add registeredOlympiksEvents field to Frosh schema w/ reference to Ol…
Browse files Browse the repository at this point in the history
…ympiksEvent model
  • Loading branch information
ashleyleal committed Aug 14, 2024
1 parent c75f9ce commit 521ec77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/models/FroshModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ const FroshSchema = new mongoose.Schema(
required: false,
default: false,
},
registeredOlympiksEvents: [{ type: mongoose.Schema.Types.ObjectId, ref: 'OlympiksEvent' }],
},
{ discriminatorKey: 'userType' },
);
Expand Down

0 comments on commit 521ec77

Please sign in to comment.