diff options
author | utilum <utilum@users.noreply.github.com> | 2018-05-28 18:09:38 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-05-28 18:09:38 +0200 |
commit | 39192e39adbd8117f4d24303aff17930dbda8ba8 (patch) | |
tree | afc556e20cb82217f48f1e501ace40395499fe7e /activestorage | |
parent | 6d4bcd439de4ca87374dd6ad03a43deeb3a5e1f6 (diff) | |
download | rails-39192e39adbd8117f4d24303aff17930dbda8ba8.tar.gz rails-39192e39adbd8117f4d24303aff17930dbda8ba8.tar.bz2 rails-39192e39adbd8117f4d24303aff17930dbda8ba8.zip |
Hide Active Storage migration installation task (#33007)
Resolves #33006
Diffstat (limited to 'activestorage')
-rw-r--r-- | activestorage/lib/tasks/activestorage.rake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activestorage/lib/tasks/activestorage.rake b/activestorage/lib/tasks/activestorage.rake index 296e91afa1..ac254d717f 100644 --- a/activestorage/lib/tasks/activestorage.rake +++ b/activestorage/lib/tasks/activestorage.rake @@ -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") |