commanded / eventstore

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

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

Closed Johnabell closed 3 hours ago

Johnabell commented 8 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.