disable updatedAt timestamp
This commit is contained in:
parent
c95a847181
commit
9bd81a8e22
@ -1141,7 +1141,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
|
|||||||
|
|
||||||
DialogueHistory: dialogueHistorySchema
|
DialogueHistory: dialogueHistorySchema
|
||||||
},
|
},
|
||||||
{ timestamps: { createdAt: "Created" } }
|
{ timestamps: { createdAt: "Created", updatedAt: false } }
|
||||||
);
|
);
|
||||||
|
|
||||||
inventorySchema.set("toJSON", {
|
inventorySchema.set("toJSON", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user