Add stuff to staff model
parent
da8f5e0004
commit
732feb91d1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue