socialforge/db/migrate/20160311072718_add_visits_t...

6 lines
131 B
Ruby

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