discourse/db/migrate/20190408082101_add_search_d...

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

9 lines
240 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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