mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 13:19:19 +08:00
7 lines
166 B
Ruby
Vendored
7 lines
166 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
class AddIndexToTopicViewItems < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_index :topic_views, %i[user_id viewed_at]
|
|
end
|
|
end
|