diff --git a/migrations/000.488.sql b/migrations/000.488.sql new file mode 100644 index 0000000..22c995c --- /dev/null +++ b/migrations/000.488.sql @@ -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(); \ No newline at end of file