Files
oak-gpui/crates
Marshall Bowers 085d41b121 collab: Add billing_subscriptions table (#15448)
This PR adds a new `billing_subscriptions` table to the database, as
well as some accompanying models/queries.

In this table we store a minimal amount of data from Stripe:

- The Stripe customer ID
- The Stripe subscription ID
- The status of the Stripe subscription

This should be enough for interactions with the Stripe API (e.g., to
[create a customer portal
session](https://docs.stripe.com/api/customer_portal/sessions/create)),
as well as determine whether a subscription is active (based on the
`status`).

Release Notes:

- N/A
2024-07-29 14:32:13 -04:00
..
2024-05-29 18:06:45 -07:00
2024-07-23 15:01:05 -07:00
2024-07-26 03:31:41 -04:00
2024-07-26 16:42:21 -07:00
2024-07-23 15:01:05 -07:00
2024-04-30 23:31:59 -06:00
2024-07-23 15:01:05 -07:00
2024-07-28 11:07:10 +02:00
2024-03-11 10:45:57 +01:00
2024-07-15 17:04:15 -06:00
2024-07-28 11:07:10 +02:00
2024-07-25 09:00:53 -06:00
2024-07-26 17:40:38 -04:00
2024-07-26 16:42:21 -07:00
2024-06-21 16:32:32 -07:00
2024-07-26 03:31:41 -04:00
2024-04-15 14:21:52 +02:00
2024-07-26 16:45:44 -06:00
2024-07-29 09:22:25 -06:00