Turn your audience into a business. Publishing, memberships, subscriptions and newsletters.
Go to file
Rishabh Garg ca18f140c4 Handled new type column for tiers (#356)
refs https://github.com/TryGhost/Team/issues/1037

Tiers have a new `type` column to differentiate between `free` and `paid` tiers. This change -

- sets type as paid for all new tiers created, as `free` tier is created by default
- excludes any price/stripe data change for free tier
- updates all usages of default product to fetch the first paid product from the products list in DB instead of just the first product it finds.
2022-01-17 23:02:02 +05:30
ghost Handled new type column for tiers (#356) 2022-01-17 23:02:02 +05:30