and it make sense since there wasn't created yet a table for exercises.
Is it possible to run a query the way that it'll insert the data in all 3 tables at once and generate all the required foreign/primary keys?
The only solution I was able to come up with is to use JSONB for storing exercises with sets instead of creating several tables for them but I'd prefer to keep them in separate tables.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.