feat(member): add billingCadence field to schema
This commit is contained in:
parent
2ae27d6dda
commit
de4bfdcc16
1 changed files with 5 additions and 0 deletions
|
|
@ -40,6 +40,11 @@ const memberSchema = new mongoose.Schema({
|
|||
},
|
||||
helcimCustomerId: String,
|
||||
helcimSubscriptionId: String,
|
||||
billingCadence: {
|
||||
type: String,
|
||||
enum: ['monthly', 'annual'],
|
||||
default: 'monthly',
|
||||
},
|
||||
paymentMethod: {
|
||||
type: String,
|
||||
enum: ["card", "bank", "none"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue