envato / event_sourcery

A library for building event sourced applications in Ruby
MIT License
84 stars 10 forks source link

Add correlation_id to Event class #125

Closed stevehodgkiss closed 7 years ago

stevehodgkiss commented 7 years ago

We need to use correlation_id's in SSO, and for the mysql adapter to be able to assign them they need to be available on the Event class. We can add correlation_id to the postgres adapter separate to this change since it won't affect it.

andrewgr commented 7 years ago

👍

stevehodgkiss commented 7 years ago

@macosgrove there's no migration necessary at this stage. A schema update will be added when the postgres event store has support for setting correlation_id.