Writing · Tag
Articles tagged "postgres-triggers".
1 article on this topic.
Articles tagged "postgres-triggers"
·7 min read · postgres , supabase , postgres-triggers
How to build a tamper-evident audit log in Postgres with one trigger
Step-by-step: build an audit log table, attach a SECURITY DEFINER trigger that captures every UPDATE and DELETE, lock it down with RLS.