As part of the efforts to remove very old drafts from the CX database (T183890), it would be useful to have a maintenance script that can be run manually by deployers.
Some considerations for the script:
- Has a --really option to disable dry-run (default)
- Has --age-in-days X option to select drafts older than X
- Updates database by purging cx_drafts and metadata as if the user had deleted them.
- Sends a notification (one per user) about deleted drafts using the class from T184268