Ghost/core/server/data
Fabien O'Carroll 5880edd722 Replaced members 'comped' status with 'paid'
refs https://github.com/TryGhost/Team/issues/693

Since we've got rid of the concept of Complimentary with the Custom
Prices work, we're removing the 'comped' status from members. This
involves a migration for existing members, a schema update for the
validation, and a bump to members-api to no longer use the 'comped'
status for new members.

We also update the aggregation of the MemberStatusEvent to consider the
'comped' status as 'paid', and that there are 0 'comped' status events
in the database.

We can consider a migration for this data in the future, either adding
new status events moving from 'comped' to 'paid', or by modifying
existing status events. However both of these are very difficulty to
write a down migration for, and might be best saved for a major version.

- @tryghost/members-api@1.7.0 is the version that includes the required
  changes, however we have already bumped to 1.8.0 in Ghost
2021-05-19 18:49:18 +01:00
..
db 💡 Enabled foreign key checks on sqlite3 2021-03-02 11:13:19 +01:00
exporter Moved i18n to shared 2021-05-04 13:03:38 +01:00
importer Moved i18n to shared 2021-05-04 13:03:38 +01:00
migrations Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
schema Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
validation Moved i18n to shared 2021-05-04 13:03:38 +01:00