0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data/migrations
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
..
hooks Updated Settings.populateDefaults() to account for available columns 2020-06-29 13:22:10 +00:00
init
versions Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
utils.js Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00