Skip to content

Commit f0afe78

Browse files
committed
Date last edited in comment model
1 parent bac0b00 commit f0afe78

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

server/models/comment.model.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ const CommentSchema = new Schema({
5959
dateDeleted: {
6060
type: Date
6161
},
62-
lastEdited: {
63-
type: Date
64-
},
62+
dateLastEdited: { type: Date },
6563
rootEntity: {
6664
type: Schema.Types.ObjectId // The entity that owns this comment
6765
// , ref: 'Post' | 'AMA'

0 commit comments

Comments
 (0)