fix: stop repeated allow_balance_pay column migration on restart (#5361)
This commit is contained in:
@@ -160,7 +160,7 @@ type SubscriptionPlan struct {
|
||||
Enabled bool `json:"enabled" gorm:"default:true"`
|
||||
SortOrder int `json:"sort_order" gorm:"type:int;default:0"`
|
||||
|
||||
AllowBalancePay *bool `json:"allow_balance_pay" gorm:"default:true"`
|
||||
AllowBalancePay *bool `json:"allow_balance_pay"`
|
||||
|
||||
// Allow falling back to wallet balance after subscription quota is exhausted (empty = true)
|
||||
AllowWalletOverflow *bool `json:"allow_wallet_overflow" gorm:"default:true"`
|
||||
|
||||
Reference in New Issue
Block a user