mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 15:24:14 +08:00
9 lines
234 B
Ruby
9 lines
234 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddSearchDataIndexes < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_index :topic_search_data, %i[topic_id version locale]
|
|
add_index :post_search_data, %i[post_id version locale]
|
|
end
|
|
end
|