lib/tasks/deployment/20241016103355_allow_merging_in_edf_config.rake
namespace :after_party do
desc 'Deployment task: allow_merging_in_edf_config'
task allow_merging_in_edf_config: :environment do
puts "Running deploy task 'allow_merging_in_edf_config'"
AmrDataFeedConfig.where(identifier: :edf).update_all(allow_merging: true)
# 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: AfterParty::TaskRecorder.new(__FILE__).timestamp
end
end