Skip to content

Cannot migrate to V6 inside the ruby3 branch #344

@daniel-prause

Description

@daniel-prause

Hi there!

Que seems to be relying on the method job_schema_version during rails init. This makes migrations impossible.
You'll find the error down below:

rails generate migration MigrateQueToVersionSix
/Users/daniel/.rvm/gems/ruby-3.0.3/bundler/gems/que-12ff191a8f3a/lib/que/job.rb:25:in `<class:Job>': undefined method `job_schema_version' for Que:Module (NoMethodError)

We "fixed" this for us by monkey patching the Que module with a dummy job_schema_version method.

But fixing this within the ruby3 branch would be the right way, of course :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions