summaryrefslogtreecommitdiffstats
path: root/lib/tasks/redmine.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/redmine.rake')
-rw-r--r--lib/tasks/redmine.rake5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake
index f1827bb65..734cad0a4 100644
--- a/lib/tasks/redmine.rake
+++ b/lib/tasks/redmine.rake
@@ -26,6 +26,11 @@ namespace :redmine do
task :move_to_subdirectories => :environment do
Attachment.move_from_root_to_target_directory
end
+
+ desc 'Updates attachment digests to SHA256'
+ task :update_digests => :environment do
+ Attachment.update_digests_to_sha256
+ end
end
namespace :tokens do