ALTER TABLE orders ADD COLUMN purchase_event_sent timestamp with time zone DEFAULT NULL;

-- Populate existing fields so we won't resend purchase events on visits to thank you pages
UPDATE orders set purchase_event_sent = now();