Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
516ed58e
Unverified
Commit
516ed58e
authored
4 years ago
by
Takafumi ONAKA
Committed by
GitHub
4 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
annotate_models_migrate.rake
lib/tasks/annotate_models_migrate.rake
+2
-0
No files found.
lib/tasks/annotate_models_migrate.rake
View file @
516ed58e
...
...
@@ -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'
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment