Browse Source

started edit

unknown 2 years ago
parent
commit
0f2211d2a1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      model/schemas/message.js

+ 4 - 0
model/schemas/message.js

@@ -106,6 +106,10 @@ const messageSchema = new Schema(
 			type: Boolean,
 			default: false,
 		},
+		edited: {
+			type: Boolean,
+			default: false,
+		},
 		owner: {
 			type: SchemaTypes.ObjectId,
 			ref: 'user',