1 class AddTextIndexToNoteComments < ActiveRecord::Migration[4.2]
3 add_index :note_comments, "to_tsvector('english', body)", :using => "GIN", :name => "index_note_comments_on_body"
7 remove_index :note_comments, :name => "index_note_comments_on_body"