How to set a trigger that sets column value before it inserts - Supabase