Add stuff to staff model

merge-requests/15/merge
Matthew 2021-02-04 23:23:17 -05:00
parent da8f5e0004
commit 732feb91d1
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ export interface StaffInterface extends Document {
bio: string,
extension: string,
acknowledgements: string[],
additionalRoles: string[]
}
const Staff: Schema = new Schema({
@ -26,6 +27,7 @@ const Staff: Schema = new Schema({
bio: String,
extension: String,
acknowledgements: Array,
additionalRoles: Array,
});
export default model<StaffInterface>('Staff', Staff);