Ghost/test/unit
Fabien 'egg' O'Carroll a79ed1170d
Added status property to members (#12570)
refs #12160

This flag will allow us easier filtering of members via the API

* Added status column to members table

This flag will be used to determine if a member is free or paid, rather
than relying on joins with the customers and subscriptions tables.

* Added migration to populate members.status

As we add the column with a default value of "free" we only need to care
about the paid members here. We also preemptively handle migrations for
SQLite where there are > 998 paid members.
2021-02-02 16:11:34 +00:00
..
adapters Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
api Pointed the v3 unit tests to the actual v3 code 2021-01-22 16:32:03 +13:00
apps 🔒 Fixed open redirect in private site login 2021-01-26 16:42:42 +00:00
data Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
helpers Updated links to ghost.org sites 2021-01-20 09:59:45 +13:00
lib Made the package-json module ready to be exported (#12451) 2020-12-10 11:37:43 +01:00
models 🐛 Added multiple use grace period to tokens (#12519) 2021-01-18 17:03:41 +00:00
server Fixed settings reinit to only emit changed settings events (#12184) 2020-09-23 14:35:03 +01:00
services Updated links to ghost.org sites 2021-01-20 09:59:45 +13:00
shared/config Updated tests locations and added linting of core/shared (#11872) 2020-06-01 22:06:50 +01:00
web Pointed the v3 unit tests to the actual v3 code 2021-01-22 16:32:03 +13:00