Member log tables renamed for what they hold
What was wrong
member_deleted holds rows for members who still exist, because a self-delete keeps the account. The table also couldn’t say which route a delete came from. members_inactivated sounds like a list of members, but it holds one row per currency run.
These names would be easier to confuse once member_archive sits beside them for the account clean-up.
What changed
- Renamed.
member_deletedis nowmember_deletion_log, andmembers_inactivatedis nowmember_currency_deactivation_log. - New columns.
member_deletion_loggainsreason(self_delete,admin_deleteortransfer) andjoin_date. Older rows leave both blank.
Nothing changes for members. The migration has no compatibility view, so deploy it outside the currency cron and any admin delete work. A self-delete during the deploy gets an error and removes nothing, and the member can try again.
Last updated on