mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
6 lines
136 B
Ruby
6 lines
136 B
Ruby
class AddIndexToTopicViewItems < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_index :topic_views, [:user_id, :viewed_at]
|
|
end
|
|
end
|