Ghost/core/server/data/migrations/versions/4.0
Fabien 'egg' O'Carroll 601d135b43
Added members event tables (#12618)
refs https://github.com/TryGhost/Ghost/issues/12602

* Added members_payment_events table

This table will store successful and unsuccessful payment attempts, and
can be used to calculate gross volume over time.

* Added members_login_events table

This table can be used to audit member logins

* Added members_email_change_events table

This table will allow us to store a history of email addresses associated with a member

* Added members_status_events table

This table will allow us to track the change in status over time for members, as well
as calculate aggregates over time, e.g. paid members over time

* Added members_paid_subscription_events

This table will allow us to track subscriptions changes for members, as well as 
calculating MRR over time
2021-02-11 10:54:30 +00:00
..
01-remove-not-null-constraint-from-plan-name-column.js Updated plan_nickname column to be nullable 2021-02-02 16:12:10 +00:00
02-add-status-column-to-members.js Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
03-populate-status-column-for-members.js Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
04-drop-apps-related-tables.js 🏗 Dropped apps related tables 2021-02-03 12:20:08 +13:00
05-add-members-subscribe-events-table.js Added members_subscribe_events table 2021-02-05 16:02:08 +00:00
05-delete-apps-related-settings-keys.js Refactored migration to use transactional utility 2021-02-08 12:25:52 +13:00
06-populate-members-subscribe-events-table.js Populated members_subscribe_events table 2021-02-05 16:02:08 +00:00
07-alter-unique-constraint-for-posts-slug.js 🏗 Altered slug unique constraint in posts table 2021-02-09 13:31:12 +13:00
08-add-members-login-events-table.js Added members event tables (#12618) 2021-02-11 10:54:30 +00:00
09-add-members-email-change-events-table.js Added members event tables (#12618) 2021-02-11 10:54:30 +00:00
10-add-members-status-events-table.js Added members event tables (#12618) 2021-02-11 10:54:30 +00:00
11-add-members-paid-subscription-events-table.js Added members event tables (#12618) 2021-02-11 10:54:30 +00:00
13-add-members-payment-events-table.js Added members event tables (#12618) 2021-02-11 10:54:30 +00:00