unknown 2 rokov pred
rodič
commit
0f2211d2a1
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  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',