drop function if exists public.x;

create function public.x(user_ids uuid, team_id uuid)
 returns boolean
 language plpgsql
 security definer
as $function$
  declare
    has_access boolean;
    parent_id uuid;
  begin
  end;
$function$;
