Skip to content

Commit

Permalink
Add: readAt in participantSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
chlehdwon committed May 30, 2023
1 parent a9c3b01 commit 76844ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/stores/mongo.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const participantSchema = Schema({
enum: ["not-departed", "paid", "send-required", "sent"],
default: "not-departed",
},
readAt: { type: Date, required: true, default: () => Date.now() },
});

const deviceTokenSchema = Schema({
Expand Down

0 comments on commit 76844ff

Please sign in to comment.