mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +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},
|
||||
// Used to enable weekly recap emails as users login
|
||||
lastWeeklyRecapDiscriminator: Boolean,
|
||||
onboardingEmailsPhase: String, // Keep track of the latest onboarding email sent
|
||||
communityGuidelinesAccepted: {type: Boolean, default: false},
|
||||
cronCount: {type: Number, default: 0},
|
||||
welcomed: {type: Boolean, default: false},
|
||||
|
||||
Reference in New Issue
Block a user