🔧 Unbreak My AppAll fixesFix KitsSponsor

Database / Supabase RLS fixes

Supabase query returns an empty array (no error)
data: [] — select works in the SQL editor but returns nothing in the app
LovableBoltv0Database / Supabase RLS
new row violates row-level security policy for table
new row violates row-level security policy for table "profiles" (code 42501)
LovableBoltCursorDatabase / Supabase RLS
Supabase Edge Function fails with CORS or 'Failed to send a request'
FunctionsFetchError: Failed to send a request to the Edge Function / CORS preflight failed
LovableBoltDatabase / Supabase RLS
Supabase Storage upload fails: new row violates row-level security policy (403)
StorageApiError: new row violates row-level security policy (403 Unauthorized)
LovableBoltv0Database / Supabase RLS
Postgres error: relation "public.xyz" does not exist
ERROR: 42P01: relation "public.profiles" does not exist / PostgREST could not find the table
LovableBoltCursorv0Database / Supabase RLS
Supabase "permission denied for table" (42501) on a new table
{"code":"42501","message":"permission denied for table your_table","hint":"Grant the required privileges to th
LovableBoltCursorv0ReplitDatabase / Supabase RLS