handling changes to stripe account where owner needs to provide information
This commit is contained in:
@@ -124,6 +124,24 @@ const User = sequelize.define(
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
},
|
||||
stripeRequirementsCurrentlyDue: {
|
||||
type: DataTypes.JSON,
|
||||
defaultValue: [],
|
||||
allowNull: true,
|
||||
},
|
||||
stripeRequirementsPastDue: {
|
||||
type: DataTypes.JSON,
|
||||
defaultValue: [],
|
||||
allowNull: true,
|
||||
},
|
||||
stripeDisabledReason: {
|
||||
type: DataTypes.STRING,
|
||||
allowNull: true,
|
||||
},
|
||||
stripeRequirementsLastUpdated: {
|
||||
type: DataTypes.DATE,
|
||||
allowNull: true,
|
||||
},
|
||||
loginAttempts: {
|
||||
type: DataTypes.INTEGER,
|
||||
defaultValue: 0,
|
||||
|
||||
Reference in New Issue
Block a user