class AddFullTextSearchIndexToDocuments < ActiveRecord::Migration
  def change
  end
end

class AddFullTextSearchIndexToDocuments < ActiveRecord::Migration
  def change
    add_index(:documents, :content, using: "pgroonga")
  end
end

Add an index that uses PGroonga
Add an index that uses PGroonga
