0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/test/unit
Fabien 'egg' O'Carroll 25182b7b82
Added products and members_products tables (#12844)
refs https://github.com/TryGhost/Team/issues/586

- Add the products table, so that we can store Products in Ghost 
- Add the members_products table, so that we can associate Members w/ Products
- Use sort_order on the members_products table to follow the same convention in members_labels
- Populate the products table with a single product, using the name from the stripe_product_name setting
- Populate the members_products table with relations based on the status column of the members table

Populating the tables allows us to transition from the current system, which does not care about products, into the
new system, where Products are used to group members. The intention is that all existing paid members have the
same product
2021-04-08 14:15:30 +01:00
..
adapters Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
api 🐛 Fixed __GHOST_URL__ appearing in sitemaps (#12787) 2021-03-18 17:16:37 +00:00
apps 🐛 Fixed __GHOST_URL__ appearing in sitemaps (#12787) 2021-03-18 17:16:37 +00:00
data Added products and members_products tables (#12844) 2021-04-08 14:15:30 +01:00
helpers 🐛 Fixed 404 errors if navigation URLs are somehow blank 2021-03-24 09:43:43 +00:00
lib 🐛 Fixed images not having srcset or sizes attributes (#12800) 2021-03-20 22:17:43 +00:00
models 🐛 Fixed performance regression introduced in 4.1.0 (#12807) 2021-03-23 09:11:24 +00:00
server Moved notify out of GhostServer 2021-02-19 20:22:56 +00:00
services Fixed failing notification update for non-major version 2021-03-23 18:02:52 +13:00
shared/config Fixed config test that failed to detect changes 2021-03-25 13:12:43 +13:00
web New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00