class Download < ApplicationRecord
  PLATFORM_OPTIONS = [["OpenWRT", "openwrt"], ["Debian", "debian"], ["Android", "android"]].freeze

  scope :most_recent_first, -> { order created_at: :desc }
  
  validates :title, presence: true
  validates :download_url, presence: true
end
