X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/303e5d3eb99284ab4fa41be85f831333f2154b0d..8a4405dd0c3af7783d0cc9a4f864f4ee5cd0e71d:/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