]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/050_add_user_index_to_diary_comments.rb
Use fenced code blocks
[rails.git] / db / migrate / 050_add_user_index_to_diary_comments.rb
index e1fe0def231e6de7e2087bc2abfeb54a98d1afce..70eb88b004fb79314cc0d3c0d735fe620362d48f 100644 (file)
@@ -1,4 +1,4 @@
-class AddUserIndexToDiaryComments < ActiveRecord::Migration
+class AddUserIndexToDiaryComments < ActiveRecord::Migration[4.2]
   def self.up
     add_index :diary_comments, [:user_id, :created_at], :name => "diary_comment_user_id_created_at_index"
   end
   def self.up
     add_index :diary_comments, [:user_id, :created_at], :name => "diary_comment_user_id_created_at_index"
   end