Soft Delete

When you delete a record, it is hidden from your lists but not removed from the database. It can be restored by an administrator.

This means: - You can't accidentally lose data permanently — deleted records can always be recovered - Deleted records don't appear in normal views — your lists stay clean - You can't restore it yourself — contact your administrator if you need something back


What Happens When You Delete

  1. You click Delete on a record
  2. The record disappears from your list
  3. The database marks it with a deletion timestamp — the data is still there
  4. An administrator can restore it if needed

For Administrators: Restoring a Record

Soft-deleted records can be viewed and restored through the admin interface. Go to the table list, enable "Show deleted" in the filters, find the record, and use the restore action.

Reference tables (units, categories, code lists) also support soft delete — they follow the same pattern.