demarches-normaliennes/app/tasks/maintenance/backfill_champs_stable_id_task.rb
2024-04-15 10:43:39 +02:00

12 lines
256 B
Ruby

# frozen_string_literal: true
module Maintenance
class BackfillChampsStableIdTask < MaintenanceTasks::Task
attribute :limit, :integer
no_collection
def process
Migrations::BackfillStableIdJob.perform_later(0, limit)
end
end
end