Page MenuHomePhabricator

Investigate deleting scrubbed and not exported donations
Open, Needs TriagePublic

Description

We probably don't need donations that are not exported and scrubbed. They're not useful for analytics.

The fundraising team confirmed on 03.07.2026 on mattermost that they do not use status X or status D for analysis and they can be deleted.

Important notes for deleting data:

  • remember that each database entry has related entries in other tables (e.g. tracking, address, moderation reasons..) and those related entries also needs to be cleaned up
    • be careful: a membership can also have a donation_id linked to it. handle that case and set the donation_id for that membership to null when you delete the donation
  • document the new regular deletion process in a GDPR overview document (what, when, where...)