socialforge/db/migrate/20160311072718_add_visits_t...

6 lines
131 B
Ruby
Raw Normal View History

2016-03-11 15:51:45 +08:00
class AddVisitsToCourse < ActiveRecord::Migration
def change
add_column :courses, :visits, :integer, :default => 0
end
end