Skip to Content

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_deleted is now member_deletion_log, and members_inactivated is now member_currency_deactivation_log.
  • New columns. member_deletion_log gains reason (self_delete, admin_delete or transfer) and join_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