demarches-normaliennes/lib/tasks/deployment/20181010102500_remove_invite_gestionnaires.rake

11 lines
384 B
Ruby
Raw Normal View History

2018-10-10 09:02:01 +02:00
namespace :after_party do
desc 'Deployment task: remove_invite_gestionnaires'
task remove_invite_gestionnaires: :environment do
InviteGestionnaire.destroy_all
# Update task as completed. If you remove the line below, the task will
# run with every deploy (or every time you call after_party:run).
AfterParty::TaskRecord.create version: '20181010102500'
end
end