Supabase inserting into a foreign key table through triggered function
Issue I’m trying to use an Edge Function to insert rows into a table named weather_logs. The function will be called from an AFTER INSERT trigger on locations. What’s causing the issue is that weather_logs has a column location_id which is a foreign key on locations. Haven’t had any success, I always get an error […]