mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
@ -90,6 +90,9 @@ end
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
task "uploads:migrate_to_s3" => :environment do
|
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
|
ENV["RAILS_DB"] ? migrate_to_s3 : migrate_to_s3_all_sites
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user