Unverified Commit 516ed58e by Takafumi ONAKA Committed by GitHub

Fix: RuntimeError - Don't know how to build task 'db:migrate' (#844)

ActiveRecord's migrate tasks are required since v2.7.5 (#588).
parent 9099c627
......@@ -16,6 +16,8 @@ if defined?(Rails::Application) && Rails.version.split('.').first.to_i >= 6
end
migration_tasks.each do |task|
next unless Rake::Task.task_defined?(task)
Rake::Task[task].enhance do
Rake::Task[Rake.application.top_level_tasks.last].enhance do
annotation_options_task = if Rake::Task.task_defined?('app:set_annotation_options')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment