add staff ID to notes

pull/29/head
Matthew 2020-09-09 22:09:41 -04:00
parent d26db2d970
commit 6d270ba046
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 0 deletions

View File

@ -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,