Skip to content

Commit 980c4f0

Browse files
committed
add notificationSettings
1 parent 065af72 commit 980c4f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/models/User.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ const UserSchema = new Schema(
1111
os: String,
1212
},
1313
],
14+
notificationSettings: {
15+
disableAll: { type: Boolean, default: false },
16+
disableTime: { type: Number, default: 0 },
17+
procedures: [{ type: Schema.Types.ObjectId, ref: 'Procedure' }],
18+
tags: [],
19+
terms: [],
20+
},
1421
},
1522
{ timestamps: true },
1623
);

0 commit comments

Comments
 (0)