```ruby
class AddUpdatedAtAndCountToViews < ActiveRecord::Migration
  def change
    add_column :forem_views, :updated_at, :datetime
    add_column :forem_views, :count, :integer
  end
end
```

Make view count default to 0
user
```ruby
class AddUpdatedAtAndCountToViews < ActiveRecord::Migration
  def change
    add_column :forem_views, :updated_at, :datetime
    add_column :forem_views, :count, :integer, :default => 0
  end
end
```
assistant