Merge pull request #2932 from tchak/remove-path-from-archived-procedures
Remove path from archived procedures
This commit is contained in:
commit
ab98e024c3
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