]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/050_add_user_index_to_diary_comments.rb
Use rails 4.2 defaults for older migrations
[rails.git] / db / migrate / 050_add_user_index_to_diary_comments.rb
index 48e0593ba1e220177858a9aa87e45eebafbd4677..70eb88b004fb79314cc0d3c0d735fe620362d48f 100644 (file)
@@ -1,4 +1,4 @@
-class AddUserIndexToDiaryComments < ActiveRecord::Migration[5.0]
+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