From 647a7bdddf1e0f13f3460086688d538183aa461c Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Wed, 29 Apr 2020 17:00:53 +0200 Subject: [PATCH] Clarify we won't use truncate_date in prod yet We initially aimed at implementing data archiving in production reusing this rake task but priorities have changed. It'll be just a refactor for now. --- lib/tasks/data/truncate_data.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/data/truncate_data.rake b/lib/tasks/data/truncate_data.rake index da4a63674a..65075a3ffb 100644 --- a/lib/tasks/data/truncate_data.rake +++ b/lib/tasks/data/truncate_data.rake @@ -34,7 +34,7 @@ namespace :ofn do def warn_with_confirmation message = <<-MSG.strip_heredoc \n - <% highlighted_message = "This will permanently change DB contents. Please, make a backup first." %> + <% highlighted_message = "This will permanently change DB contents. This is not meant to be run in production as it needs more thorough testing." %> <%= color(highlighted_message, :blink, :on_red) %> Are you sure you want to proceed? (y/N) MSG