-- ============================================================================
-- Remove group-invite-code flow. Groups now only grow via direct
-- Admin/Mod adds of accepted friends (conversation_members insert).
-- ============================================================================

drop function if exists public.redeem_group_invite(text);
drop table if exists public.group_invites cascade;
