Replies: 10 comments 2 replies
-
Hi Maybe some strategies for event versioning could help you. Please take a look at great book by Greg Young (avaiable for free to read online): https://leanpub.com/esversioning/read_full |
Beta Was this translation helpful? Give feedback.
-
There is no API for that on RES. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the book reference :) |
Beta Was this translation helpful? Give feedback.
-
Provided you're on ActiveRecord adapter, following can help you in phase of experimentation:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @pawelpacana I'm going to play with the ActiveRecord adapter right now. I'll share any success or failure here :) |
Beta Was this translation helpful? Give feedback.
-
this is dangerous for explicitly ordered streams (that use |
Beta Was this translation helpful? Give feedback.
-
Finally I've made a simple script running the queries directly against mysql.
Note that
|
Beta Was this translation helpful? Give feedback.
-
The script should work, however https://github.com/RailsEventStore/rails_event_store/blob/master/rails_event_store_active_record/lib/rails_event_store_active_record/generators/templates/create_event_store_events_template.rb#L9 - |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply @mpraglowski , We have the position field set at NULL in all events, it's only filled when you use the |
Beta Was this translation helpful? Give feedback.
-
It is explained in https://railseventstore.org/docs/expected_version/ You probably do not use |
Beta Was this translation helpful? Give feedback.
-
Hi,
We're started using you amazing library to publish and store several events but I just realized there are some of them which shall be removed. I'm trying to figure how I can create a migration to do it but I didn't find any
destroy
,remove
ordelete
method which can help me doing that.Is there a way to remove already persisted events?
Beta Was this translation helpful? Give feedback.
All reactions