Ghost/test/unit/data
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
..
db Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
exporter Removed use of deprecated setting flags from the codebase 2020-06-23 11:58:19 +12:00
importer Fixed test for ignoring member email address' 2020-10-15 16:05:49 +05:30
meta Refactored core/server/lib/image for Dependency Injection (#12463) 2020-12-09 13:19:22 +01:00
migrations Removed global.Promise override (#12182) 2020-11-04 10:55:47 +00:00
schema Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
validation Improved settings validation (#12048) 2020-07-15 17:11:27 +02:00
xml/sitemap Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00