Closed tchan128 closed 8 months ago
Conversation
User
index.js
comment
author
createdAt
Models subject to change depending on what needs to be added/removed
@ae-andre @Jasmineleeyt Removed email in User and added commentId to comment schema
commentId: { type: Schema.Types.ObjectId, default: () => new Types.ObjectId(), },
Conversation
andUser
index.js
file to require in those two modelsUser
includes:Conversation
includes:comment
,author
, andcreatedAt
Models subject to change depending on what needs to be added/removed