commanded / eventstore

Event store using PostgreSQL for persistence
MIT License
1.05k stars 146 forks source link

Add support for overriding created_at timestamps for copy transform workflows #282

Open Johnabell opened 7 months ago

Johnabell commented 7 months ago

We are looking at running a copy-transform on our event stream.

This involves reading all events out of one event store and filtering/transforming them before writing them to a new event store. To support this we would like to maintain the timestamps on the original events in both the events table and the streams table.

This PR make that possible by allowing the caller to override created_at when appending events to the event store.