Added chat timestamps, started work on nameplate settings
This commit is contained in:
parent
8b7faf6354
commit
282d4133e8
5 changed files with 38 additions and 5 deletions
|
|
@ -51,6 +51,10 @@ const chatSchema = new mongoose.Schema({
|
|||
type: [linkSchema],
|
||||
required: true,
|
||||
},
|
||||
timestamp: {
|
||||
type: mongoose.SchemaTypes.Number,
|
||||
default: Date.now()
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = chatSchema;
|
||||
Loading…
Add table
Add a link
Reference in a new issue