Remove path from archived procedures

This commit is contained in:
Paul Chavard 2018-10-31 11:51:15 +01:00
parent 3aef0f379b
commit 3418419771

View file

@ -0,0 +1,8 @@
namespace :after_party do
desc 'Deployment task: remove_path_from_archived_procedures'
task remove_path_from_archived_procedures: :environment do
Procedure.archivees.where.not(path: nil).update_all(path: nil)
AfterParty::TaskRecord.create version: '20181031104615'
end
end