mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
add schema field to keep track of onboarding emails
This commit is contained in:
@@ -217,6 +217,7 @@ let schema = new Schema({
|
|||||||
lastWeeklyRecap: {type: Date, default: Date.now},
|
lastWeeklyRecap: {type: Date, default: Date.now},
|
||||||
// Used to enable weekly recap emails as users login
|
// Used to enable weekly recap emails as users login
|
||||||
lastWeeklyRecapDiscriminator: Boolean,
|
lastWeeklyRecapDiscriminator: Boolean,
|
||||||
|
onboardingEmailsPhase: String, // Keep track of the latest onboarding email sent
|
||||||
communityGuidelinesAccepted: {type: Boolean, default: false},
|
communityGuidelinesAccepted: {type: Boolean, default: false},
|
||||||
cronCount: {type: Number, default: 0},
|
cronCount: {type: Number, default: 0},
|
||||||
welcomed: {type: Boolean, default: false},
|
welcomed: {type: Boolean, default: false},
|
||||||
|
|||||||
Reference in New Issue
Block a user