collab: Record cancellation reason on billing subscriptions (#22853)

This PR updates the `billing_subscriptions` in the database to record
the cancellation reason from Stripe.

We're primarily interested in this so we can check for subscriptions
that were canceled for being `past_due`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-01-08 14:38:10 -05:00 committed by GitHub
parent 69dde8e31d
commit b78396505f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 43 additions and 8 deletions

View file

@ -0,0 +1,2 @@
alter table billing_subscriptions
add column stripe_cancellation_reason text;