Files
mtusi2026lab7/migrations/008_api_idempotency_delete.sql
T

7 lines
235 B
SQL

-- 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;