class AddVisitsToCourse < ActiveRecord::Migration def change add_column :courses, :visits, :integer, :default => 0 end end