Create form onSubmit update two database tables
Hi i'm using supabase for my backend. I'm trying to update two tables at the same time. One is menuitems and the other is a many-to-many table called menuitemallergens with menu_item_id and allergen_id. How do I setup my form so I can first submit the menu items and then update the menuitemallergens table with the according allergens?
