DEV: Add a note to S3 migration task (#11738)

A followup to #11703
This commit is contained in:
Jarek Radosz 2021-01-18 17:12:47 +01:00 committed by GitHub
parent ce01f9db46
commit 650e3d18c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ end
################################################################################
task "uploads:migrate_to_s3" => :environment do
STDOUT.puts("Please note that migrating to S3 is currently not reversible! \n[CTRL+c] to cancel, [ENTER] to continue")
STDIN.gets
ENV["RAILS_DB"] ? migrate_to_s3 : migrate_to_s3_all_sites
end