Giter Site home page Giter Site logo

Comments (2)

jmkoni avatar jmkoni commented on May 25, 2024 1

@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.

mostlyobvious avatar mostlyobvious commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.