Add field to track when current subscription type started

This commit is contained in:
Phillip Thelen
2022-11-08 12:38:24 +01:00
committed by Phillip Thelen
parent f9a9d4919b
commit 8dfa21a4b8
3 changed files with 56 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ export const schema = new mongoose.Schema({
dateCreated: Date,
dateTerminated: Date,
dateUpdated: Date,
dateCurrentTypeCreated: Date,
extraMonths: { $type: Number, default: 0 },
gemsBought: { $type: Number, default: 0 },
mysteryItems: { $type: Array, default: () => [] },