Purge deleted records
Phase 1 preview — pages render fixture data only; no changes are saved.
What a purge would remove
A purge is permanent. It hard-deletes every soft-deleted record, with its history and files. It cannot be undone, and legacy does not check whether live records still depend on what it removes. This page only shows what would happen.
Purging is switched off. ALLOW_DATA_PURGE is not true, so this install would refuse the request.
- Soft-deleted records
- 13
| Record type | Soft-deleted | Live rows pointing at them | Removed with them | Actions |
|---|---|---|---|---|
| Accessories | 1 | 0 | Check-out requests; Their activity log rows and attached files; image files | |
| Activity log Soft-deleted log rows are themselves purged. | Not previewed | — | attached files, signatures and EULA PDFs referenced by the rows | |
| Assets | 2 | 0 | Maintenances; Check-out requests; External source links (sync adapters); Their activity log rows and attached files; image files | |
| Asset models | 1 | 0 | Check-out requests; Their activity log rows and attached files; image files | |
| Calendar events | Not previewed | — | — | |
| Categories | 0 | 0 | Their activity log rows; image files | |
| Check-out acceptances | 0 | 0 | signatures and stored EULA PDFs | |
| Check-out requests | 0 | 0 | — | |
| Companies | 1 | 0 | Their activity log rows and attached files; image files | |
| Components | 1 | 0 | Check-out requests; Their activity log rows and attached files; image files | |
| Consumables | 1 | 0 | Check-out requests; Their activity log rows and attached files; image files | |
| Departments | 1 | 0 | Their activity log rows and attached files; image files | |
| Licenses | 1 | 0 | License seats; Check-out requests; Their activity log rows and attached files | |
| License seats | Not previewed | — | — | |
| Locations | 1 | 0 | Their activity log rows and attached files; image files | |
| Maintenances | 1 | 0 | Their activity log rows and attached files | |
| Maintenance types | 1 | 0 | — | |
| Manufacturers | 0 | 0 | Their activity log rows; image files | |
| Orders | Not previewed | — | — | |
| Order items | Not previewed | — | — | |
| Report templates | 0 | 0 | — | |
| Status labels | 0 | 0 | — | |
| Suppliers | 0 | 0 | Their activity log rows and attached files; image files | |
| Users People hidden from lists (show_in_list = 0) are never purged. | 1 | 0 | Their activity log rows and attached files; avatar images |
Before a purge can run
| Requirement | State | Actions |
|---|---|---|
| Signed in as a superuser Every settings screen needs it. | Met | |
| Purging is switched on ALLOW_DATA_PURGE must be true in the environment; otherwise the request is refused and logged. | Not met | |
| The demo lock is off APP_LOCKED blocks the action. | Met | |
| Typing DELETE A confirmation field must equal DELETE exactly (case-sensitive). | Asked at the time | |
| A backup is taken first Legacy runs a backup, then purges even if the backup failed. A rebuilt version should stop instead. | Asked at the time |