-- When the worker asked Billingo for the invoice. Set before the request: if -- the answer is lost (a timeout after Billingo made it), the next attempt -- looks the invoice up instead of making a second one. ALTER TABLE invoices ADD COLUMN document_requested_at timestamptz;