]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20140115192822_add_text_index_to_note_comments.rb
Merge remote-tracking branch 'upstream/pull/3016'
[rails.git] / db / migrate / 20140115192822_add_text_index_to_note_comments.rb
index e0d22306085ef318639df59e1499e85342ca20e6..dc17d386e87f76c38065af48e78e87eb8bd349e7 100644 (file)
@@ -1,6 +1,6 @@
-require 'migrate'
+require "migrate"
 
-class AddTextIndexToNoteComments < ActiveRecord::Migration
+class AddTextIndexToNoteComments < ActiveRecord::Migration[4.2]
   def up
     add_index :note_comments, [], :columns => "to_tsvector('english', body)", :using => "GIN", :name => "index_note_comments_on_body"
   end