Skip to main content
Glama
Apache 2.0
845
2,105
  • Apple
20250109000000_add_todo_policies.sql831 B
-- Enable RLS alter table todos enable row level security; -- Add user_id column to track ownership alter table todos add column user_id uuid references auth.users (id) default auth.uid () not null; -- Create policies create policy "Users can view their own todos" on todos for select using ( ( select auth.uid () = user_id ) ); create policy "Users can create their own todos" on todos for insert with check ( ( select auth.uid () = user_id ) ); create policy "Users can update their own todos" on todos for update using ( ( select auth.uid () = user_id ) ) with check ( ( select auth.uid () = user_id ) ); create policy "Users can delete their own todos" on todos for delete using ( ( select auth.uid () = user_id ) );

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/supabase-community/mcp-supabase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server