-- "Is this your song? / Report a song" from the app: what kind of report, and who sent it. alter table takedown_requests add column kind text not null default 'takedown' check (kind in ('claim', 'takedown', 'wrong_info', 'other')), add column user_id uuid references auth.users on delete set null default auth.uid(); -- Signed-in users can see the reports they sent (admins already see all). create policy own_takedowns on takedown_requests for select using (user_id = auth.uid());