2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-04-08 04:37:54 -04:00
|
|
|
class AddSearchDataIndexes < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
|
|
|
add_index :topic_search_data, [:topic_id, :version, :locale]
|
|
|
|
add_index :post_search_data, [:post_id, :version, :locale]
|
|
|
|
end
|
|
|
|
end
|