socialforge/db/migrate/20131215065910_add_viewed_c...

6 lines
132 B
Ruby

class AddViewedCountToMemos < ActiveRecord::Migration
def change
add_column :memos, :viewed_count, :int, default: 0
end
end