bigdir/db/migrate/20131215065910_add_viewed_c...

6 lines
132 B
Ruby
Raw Normal View History

2013-12-15 15:10:29 +08:00
class AddViewedCountToMemos < ActiveRecord::Migration
def change
add_column :memos, :viewed_count, :int, default: 0
end
end