mirror of
https://github.com/discourse/discourse.git
synced 2025-02-15 08:42:56 +08:00
7 lines
209 B
Ruby
7 lines
209 B
Ruby
![]() |
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
|