c9d3f3d1dc4e1e68593b3a1f7658fca197469f80
Admins can now wipe an editorial's usage footprint (usages, download events, billing reports incl. items and related audit rows) so test accounts no longer pollute dashboard statistics. Grants, price, status and login stay untouched; the action is confirmed by typing the editorial name. Hard delete previously failed with FK violations as soon as a usage had ever been billed or an address saved: - billing_report_items (restrict -> usages) were never deleted - billing_address_versions were deleted before the referencing current_billing_address_version_id and their self-referencing superseded_by_id, both restrict Both are now handled in correct FK order inside the transaction; the audit trail of the deleted editorial is purged and verification tokens are removed.
Languages
TypeScript
98.4%
CSS
1.3%
Shell
0.2%
Dockerfile
0.1%