Post
I was going to suggest this same approach: triggers that convert the updated/deleted row to a JSON object that can be logged or archived. @brandur.bsky.social provides a great example in brandur.org/fragments/de...
brandur.orgEasy, alternative soft deletion: `deleted_record_insert`An alternate to traditional <code>deleted_at</code> soft deletion that stays out of the way and minimizes bugs.
No replies yet.