collab: Limit customers to one free trial (#29232)
This PR makes it so customers can only subscribe to the trial once. Release Notes: - N/A
This commit is contained in:
parent
abf2b9d7d3
commit
a0eaede13d
5 changed files with 36 additions and 3 deletions
|
@ -10,6 +10,7 @@ pub struct Model {
|
|||
pub user_id: UserId,
|
||||
pub stripe_customer_id: String,
|
||||
pub has_overdue_invoices: bool,
|
||||
pub trial_started_at: Option<DateTime>,
|
||||
pub created_at: DateTime,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue