Comments (2)
@pawelpacana Thank you! I'll try running the migrations. Re 1.3.1 & 3.0.6, iir there was another gem that forced me to update, not rails_event_store
alone.
from rails_event_store.
ActiveModel::MissingAttributeError: can't write unknown attribute
event_id
I get this error message when I try to run RES 2.x code on database schema of RES 1.3.x.
There was a pretty big change in the database schema in 2.x series for performance and storage size reasons. In order to fully upgrade from 1.3.x you need to run schema migrations. The migrations were included in 2.0.0 release and removed in further releases. Specifically it was this one:
https://github.com/RailsEventStore/rails_event_store/blob/v2.0.0/rails_event_store_active_record/lib/rails_event_store_active_record/generators/templates/no_global_stream_entries_template.rb
The details and migration steps are described in 2.0.0 release changelog entry:
https://github.com/RailsEventStore/rails_event_store/releases/tag/v2.0.0
I'm working on upgrading a project to Ruby 3
Was there anything in RES 1.3.1 release not working on Ruby 3.0.6?
from rails_event_store.
Related Issues (20)
- Migration guide to RailsEventStore::JSONClient HOT 3
- Create new release for `ruby_event_store-rom` HOT 1
- ruby_event_store-browser 2.10 undefined method `match?' for nil:NilClass HOT 4
- Making the broker configurable HOT 3
- Unsupported adapter when running migration (2.11.1) HOT 6
- Rspec issue when testing with have_subscribed_to_events HOT 5
- NoMethodError when using `RubyEventStore::RSpec::Publish` matcher with `InMemoryRepository` and preceding events HOT 3
- Documentation on Postgres jsonb serialization is not consistent HOT 1
- Projection does three (3) queries where it could be doing one (1) HOT 3
- Browser timezone HOT 3
- Allow to define source of default streams when publishing events HOT 3
- Document our approach to semver and backwards compatibility
- The provided template for existing rails application doesn't work for rails_event_store 2.14.0 and rails 7.1.2 HOT 2
- Allow specifying index HOT 2
- InvalidAuthenticityToken HOT 2
- Timezones not working (for me)
- Generated migration is not Strong Migrations compatible HOT 2
- Potential issue with expected version while publishing events HOT 1
- JSONB variant should make use of GIN indexes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails_event_store.