I've got a trigger function that fires after a user registers, I'm passing additional profile data through from my registration form into the raw_user_meta_data and the function pulls that out and inserts it into DB tables.
What I then want to do in my function is remove the keys from the meta_data that are now stored in the other tables. Is that possible?
I've got the following code which the AI assistant prompted me with but it doesn't appear to be working:
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.