Files
discourse/db/migrate/20170303070706_add_index_to_topic_view_items.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
166 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddIndexToTopicViewItems < ActiveRecord::Migration[4.2]
def change
add_index :topic_views, %i[user_id viewed_at]
end
end