Add orders.purchase_event_sent (#408)

This commit is contained in:
Fredrik Ringqvist
2024-07-02 18:22:25 +02:00
committed by GitHub
parent 3f67f6bffd
commit 9bb12b9afb
+4
View File
@@ -0,0 +1,4 @@
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();