bigdir/db/migrate/20140404031622_add_view_cou...

7 lines
223 B
Ruby
Raw Normal View History

class AddViewCountToRelativeMemos < ActiveRecord::Migration
def change
add_column :relative_memos, :viewed_count_crawl, :int, default: 0
add_column :relative_memos, :viewed_count_local, :int, default: 0
end
end