class AddFullTextSearchIndexToDocuments < ActiveRecord::Migration
  def change
  end
end

class AddFullTextSearchIndexToDocuments < ActiveRecord::Migration
  def change
    add_index :documents, :content, type: :fulltext
  end
end

Add an index for full text search
Add an index for full text search
