mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
8 lines
166 B
Ruby
8 lines
166 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddIndexToTopicViewItems < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_index :topic_views, %i[user_id viewed_at]
|
|
end
|
|
end
|