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