Remove path from archived procedures
This commit is contained in:
parent
3aef0f379b
commit
3418419771
1 changed files with 8 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue