Hide Active Storage migration installation task (#33007)

Resolves #33006
This commit is contained in:
utilum 2018-05-28 18:09:38 +02:00 committed by David Heinemeier Hansson
parent 6d4bcd439d
commit 39192e39ad

@ -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")