add schema field to keep track of onboarding emails

This commit is contained in:
Matteo Pagliazzi
2016-12-28 09:47:14 +01:00
parent c0c74659c5
commit faedb13598

View File

@@ -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},