mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 21:25:24 +08:00
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user