]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20140115192822_add_text_index_to_note_comments.rb
Be more consistent with 'my' vs 'your' for objects that belong to
[rails.git] / db / migrate / 20140115192822_add_text_index_to_note_comments.rb
index fe91340488d5534b45680bc0e1e66787c6801c79..cc973698849bce22452c2f69ca84ca561b7d3472 100644 (file)
@@ -1,6 +1,6 @@
 require "migrate"
 
 require "migrate"
 
-class AddTextIndexToNoteComments < ActiveRecord::Migration
+class AddTextIndexToNoteComments < ActiveRecord::Migration[5.0]
   def up
     add_index :note_comments, [], :columns => "to_tsvector('english', body)", :using => "GIN", :name => "index_note_comments_on_body"
   end
   def up
     add_index :note_comments, [], :columns => "to_tsvector('english', body)", :using => "GIN", :name => "index_note_comments_on_body"
   end