feat(member): add billingCadence field to schema

This commit is contained in:
Jennie Robinson Faber 2026-04-18 17:12:45 +01:00
parent 2ae27d6dda
commit de4bfdcc16

View file

@ -40,6 +40,11 @@ const memberSchema = new mongoose.Schema({
}, },
helcimCustomerId: String, helcimCustomerId: String,
helcimSubscriptionId: String, helcimSubscriptionId: String,
billingCadence: {
type: String,
enum: ['monthly', 'annual'],
default: 'monthly',
},
paymentMethod: { paymentMethod: {
type: String, type: String,
enum: ["card", "bank", "none"], enum: ["card", "bank", "none"],