]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/050_add_user_index_to_diary_comments.rb
Add rails version number to migrations
[rails.git] / db / migrate / 050_add_user_index_to_diary_comments.rb
index e1fe0def231e6de7e2087bc2abfeb54a98d1afce..48e0593ba1e220177858a9aa87e45eebafbd4677 100644 (file)
@@ -1,4 +1,4 @@
-class AddUserIndexToDiaryComments < ActiveRecord::Migration
+class AddUserIndexToDiaryComments < ActiveRecord::Migration[5.0]
   def self.up
     add_index :diary_comments, [:user_id, :created_at], :name => "diary_comment_user_id_created_at_index"
   end