Fix Macedoine 🇲🇰
This commit is contained in:
parent
85d3c97b11
commit
f445d95166
3 changed files with 18 additions and 4 deletions
14
lib/tasks/deployment/20190212164238_fix_macedonia.rake
Normal file
14
lib/tasks/deployment/20190212164238_fix_macedonia.rake
Normal file
|
@ -0,0 +1,14 @@
|
|||
namespace :after_party do
|
||||
desc 'Deployment task: fix_macedonia'
|
||||
task fix_macedonia: :environment do
|
||||
puts "Running deploy task 'fix_macedonia'"
|
||||
|
||||
# Put your task implementation HERE.
|
||||
|
||||
Champ.where(type: "Champs::PaysChamp", value: "EX-REPUBLIQUE YOUGOSLAVE DE MACEDOINE").update_all(value: "MACEDOINE DU NORD (REPUBLIQUE DE)")
|
||||
|
||||
# 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: '20190212164238'
|
||||
end # task :fix_macedonia
|
||||
end # namespace :after_party
|
Loading…
Add table
Add a link
Reference in a new issue