]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20140115192822_add_text_index_to_note_comments.rb
Replace fixtures with a factory for old_relation_tags
[rails.git] / db / migrate / 20140115192822_add_text_index_to_note_comments.rb
index e4337459523db360c366bb94f7929f04d6417261..fe91340488d5534b45680bc0e1e66787c6801c79 100644 (file)
@@ -1,8 +1,8 @@
-require 'migrate'
+require "migrate"
 
 class AddTextIndexToNoteComments < ActiveRecord::Migration
   def up
-    add_index :note_comments, [], :columns => "to_tsvector('english', body)", :method => "GIN", :name => "index_note_comments_on_body"
+    add_index :note_comments, [], :columns => "to_tsvector('english', body)", :using => "GIN", :name => "index_note_comments_on_body"
   end
 
   def down