From 6d270ba046722e1144a333c3b2043c1402d72bc6 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Wed, 9 Sep 2020 22:09:41 -0400 Subject: [PATCH] add staff ID to notes --- src/models/Note.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/Note.ts b/src/models/Note.ts index f73f491..2793b32 100644 --- a/src/models/Note.ts +++ b/src/models/Note.ts @@ -2,6 +2,7 @@ import { Document, Schema, model } from 'mongoose'; export interface NoteInterface extends Document { userID: string, + staffID: string, date: Date, category: 'comm' | 'cs' | 'edu' | '', text: string, @@ -9,6 +10,7 @@ export interface NoteInterface extends Document { const Note: Schema = new Schema({ userID: String, + staffID: String, date: Date, category: String, text: String,