mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Hide Active Storage migration installation task (#33007)
Resolves #33006
This commit is contained in:
parent
6d4bcd439d
commit
39192e39ad
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
namespace :active_storage do
|
||||
# Prevent migration installation task from showing up twice.
|
||||
Rake::Task["install:migrations"].clear_comments
|
||||
|
||||
desc "Copy over the migration needed to the application"
|
||||
task install: :environment do
|
||||
if Rake::Task.task_defined?("active_storage:install:migrations")
|
||||
|
|
Loading…
Reference in a new issue