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.
This commit is contained in:
Pau Perez
2020-04-29 17:00:53 +02:00
parent e0228f66af
commit 647a7bdddf

View File

@@ -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