* Added Thread Search Feature * Added User Search Feature * Re-organized searching, added @mention support to author search
9 lines
305 B
Ruby
9 lines
305 B
Ruby
class AddSearchIndexes < ActiveRecord::Migration
|
|
def change
|
|
add_index :forumthreads, [:title, :content], type: :fulltext
|
|
add_index :forumthreads, :title, type: :fulltext
|
|
add_index :forumthreads, :content, type: :fulltext
|
|
add_index :threadreplies, :content, type: :fulltext
|
|
end
|
|
end
|