Add an active
column to the table, and then do:
UPDATE YourTable
SET active = 0
WHERE id = :id
to deactivate the row. You'll then need to update all other queries so they do:
WHERE active = 1
There's no built-in mechanism that does this automatically.