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

class AddUpdatedAtAndCountToViews < ActiveRecord::Migration
  def change
    add_column :forem_views, :updated_at, :datetime
    add_column :forem_views, :count, :integer, :default => 0
  end
end

Make view count default to 0
[views] Make view count default to 0
