namespace :link_checker do
  task delete_old_report_links: :environment do
    count = LinkCheckerApiReport::Link.deletable.delete_all
    puts "Deleted #{count} old report links."
  end
end

Add a rake task for deleting old report links
Add a rake task for deleting old report links

This table has the potential to grow indefinitely, so we will configure
this task to run periodically so it remains a good size. It also always
us to delete the links using Jenkins so we have better visibility on the
job.
