-- Worker access is intentionally limited to attachment processing state. GRANT SELECT, INSERT, UPDATE ON attachments, attachment_jobs TO messenger_worker;