mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-02 02:11:33 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user