diff --git a/src/models/PagerNumber.ts b/src/models/PagerNumber.ts index f250c4d..f64027a 100644 --- a/src/models/PagerNumber.ts +++ b/src/models/PagerNumber.ts @@ -6,6 +6,7 @@ export interface PagerNumberRaw { individualAssignID: string, emailAddresses: string[], discordIDs: string[], + receiveEmail: boolean, } export interface PagerNumberInterface extends Document { @@ -14,6 +15,7 @@ export interface PagerNumberInterface extends Document { individualAssignID: string, emailAddresses: string[], discordIDs: string[], + receiveEmail: boolean, } const PagerNumber: Schema = new Schema({ @@ -21,6 +23,7 @@ const PagerNumber: Schema = new Schema({ individualAssignID: String, emailAddresses: Array, discordIDs: Array, + receiveEmail: Boolean, }); export default model('PagerNumber', PagerNumber);