-- Lab7: allow API to remove expired idempotency records. -- The send-message handler performs this cleanup. -- No DELETE permission is granted on other tables. GRANT DELETE ON TABLE public.message_idempotency TO messenger_api;