Removed records
Keep a copy of every removed record so you can review or recover it.
Táto stránka ešte nie je preložená. Čítaš originál.
By default, a removed record is gone. A table can instead keep a copy of each removed record.
Keep removed records
- Open the settings of the table.
- Check Stores deleted records for manual recovery or review.
- Click SUBMIT.
From then on, each record removed from this table, from the screen or through the API, is copied to the database table tbl_removed before it is removed.
Review removed records
The copies are not shown in the Tables screens. Read them in PostgreSQL. Each row has the ID of the record (id), the ID of its table (tableid), all the values in data (JSON), who removed it (createdby) and when (dtcreated):
SELECT id, tableid, createdby, dtcreated, data
FROM tbl_removed
ORDER BY dtcreated DESC;To recover a record, create it again with the values from data, for example by pasting them in a new record or by sending them to the API.
Stop removal from the screen
To stop users removing records at all, uncheck Allow removal of documents from the user interface in the table settings.