discourse/db/migrate/20170303070706_add_index_to...

6 lines
131 B
Ruby
Raw Normal View History

class AddIndexToTopicViewItems < ActiveRecord::Migration
def change
add_index :topic_views, [:user_id, :viewed_at]
end
end