Demo, all content is generated
Question

How do I keep a log of what my admins change in the database?

Open · 34 views · asked by lucy_hart · edited

We now have 3 people with admin access to the app. Yesterday a customer's plan changed and nobody knows who did it. I'd like a simple history: who changed which row, when, old and new value. Is there a standard way in Supabase, or do I build it?

What I’ve tried

Looked at the Supabase logs, they show requests but not which user changed what value in a readable way.

Comment
Quick pointer while you wait for a full answer: search for the supa_audit extension and Postgres audit triggers. hannah_reyes · edited
Thanks, looking into it. lucy_hart · edited

Activity

12 helpers notified