mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
8a87eb9e36
refs https://github.com/TryGhost/Team/issues/790 Since version 4.6 the 'comped' status has not been used. Any members which were given complimentary plans since then will have had a `status` of 'paid', and therefore the corresponding members_status_events row would have a `to_status` of 'paid'. This migration is designed to fix these members_status_events rows by ensuring that the last (chronologically) members_status_event row for a comped member has a to status of 'comped'. Unfortuantely this migration loses information which makes writing a perfect inverse migraion impossible. Alternative down migrations were considered, but these would lose further information. |
||
---|---|---|
.. | ||
hooks | ||
init | ||
versions | ||
utils.js |