rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class CreateMentions < ActiveRecord::Migration[4.2]
/home/bobzhu/redmine/plugins/wiking/db/migrate/001_create_mentions.rb:1:in `<top (required)>'
/home/bobzhu/redmine/lib/redmine/plugin.rb:542:in `up'
/home/bobzhu/redmine/lib/redmine/plugin.rb:574:in `migrate_plugin'
/home/bobzhu/redmine/lib/redmine/plugin.rb:515:in `migrate'
/home/bobzhu/redmine/lib/redmine/plugin.rb:526:in `migrate'
/home/bobzhu/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
Caused by:
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class CreateMentions < ActiveRecord::Migration[4.2]
/home/bobzhu/redmine/plugins/wiking/db/migrate/001_create_mentions.rb:1:in `<top (required)>'
/home/bobzhu/redmine/lib/redmine/plugin.rb:542:in `up'
/home/bobzhu/redmine/lib/redmine/plugin.rb:574:in `migrate_plugin'
/home/bobzhu/redmine/lib/redmine/plugin.rb:515:in `migrate'
/home/bobzhu/redmine/lib/redmine/plugin.rb:526:in `migrate'
/home/bobzhu/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)
By the way, my rails version is 5.2.6 (ruby 2.6.8).
When I tried to install the plugin, I got this:
By the way, my rails version is 5.2.6 (ruby 2.6.8).