diff --git a/lib/tasks/deployment/20181031104615_remove_path_from_archived_procedures.rake b/lib/tasks/deployment/20181031104615_remove_path_from_archived_procedures.rake new file mode 100644 index 000000000..f3e1a0ccb --- /dev/null +++ b/lib/tasks/deployment/20181031104615_remove_path_from_archived_procedures.rake @@ -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