class AddCustomForumTopicViews < ActiveRecord::Migration
  def change
    create_table :forum_topic_views do |t|
      t.integer :topic_id
      t.integer :user_id
      t.timestamps
    end

    add_index :forum_topic_views, [:topic_id]
  end
end

Add a new table to track the raw number of views for every topic.
Add a new table to track the raw number of views for every topic.
