feat: add adminNotes and registered class counts for users
Expose nationalId aliases and enrollment counts on user list responses, and store admin notes on users, classes, and sessions.
This commit is contained in:
@@ -81,6 +81,10 @@ const sessionSchema = new mongoose.Schema({
|
||||
reminderSentAt: {
|
||||
type: Date,
|
||||
default: null
|
||||
},
|
||||
adminNotes: {
|
||||
type: [String],
|
||||
default: []
|
||||
}
|
||||
}, {
|
||||
timestamps: true
|
||||
|
||||
Reference in New Issue
Block a user