Remove all InviteGestionnaires
This commit is contained in:
parent
a5f71bfaf6
commit
9ba8b2da92
1 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
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
|
Loading…
Reference in a new issue