X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f85681c5cee9406aacc1745a3fb3bd0331d3c0e4..29a780eb1af9ca5f8b55e53cf89701b297707607:/db/migrate/050_add_user_index_to_diary_comments.rb diff --git a/db/migrate/050_add_user_index_to_diary_comments.rb b/db/migrate/050_add_user_index_to_diary_comments.rb index e1fe0def2..48e0593ba 100644 --- a/db/migrate/050_add_user_index_to_diary_comments.rb +++ b/db/migrate/050_add_user_index_to_diary_comments.rb @@ -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