socialforge/db/migrate/20160311072540_add_visits_t...

6 lines
127 B
Ruby
Raw Normal View History

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