mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
a0a35df13b
* Migrated members comped status to reflect subscriptions refs https://github.com/TryGhost/Team/issues/995 Due to a bug in subscription handling, members with Complimentary stripe subscriptions were incorrectly given a status of 'paid'. The goal of this migration is to fix existing broken members, and it will be accompanied by a fix which prevents the bug for future members. Since we are updating the status properties for members, we must ensure that we also update the relevant member_status_events entries too, so that we do not have incompatible sums between events and statuses. For example, if we were to use events to graph comped members over time, we would want the current count to match the query on statuses: `SELECT COUNT(*) FROM members WHERE status='comped';` |
||
---|---|---|
.. | ||
01-fix-comped-member-statuses.js |