class AddProgressToSystemTasks < ActiveRecord::Migration[7.0]
  def change
    add_column :system_tasks, :progress, :integer, default: 0
    SystemTask.where(status: "complete").update_all(progress: 100)
  end
end
