I'm trying to write to a custom schema:
const supabase = new Supabase<Database, "custom_schema">({
id: "supabase",
supabaseUrl: process.env.NEXT_PUBLIC_SUPABASE_URL!,
supabaseKey: process.env.SUPABASE_SERVICE_ROLE_KEY!,
});
but when I use:
await io.supabase.client.from('test_table').update({test: 'updated'}).eq('id', id)
the error says "there is no table "public.test_table