Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveRecord::Migration is not supported #37

Open
marquicus opened this issue Jan 22, 2018 · 0 comments
Open

ActiveRecord::Migration is not supported #37

marquicus opened this issue Jan 22, 2018 · 0 comments

Comments

@marquicus
Copy link

When running migration it throws the following exception:

$ rails db:migrate
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:

Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:

class CreateWorkflowProcesses < ActiveRecord::Migration[4.2]

Is it not supported for these versions?

$ ruby --version
ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
$ rails --version
Rails 5.1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant