Parsing arrays in trigger functions - Supabase