X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/160429e62d88810ec49ccc9c504edee675dca080..9fc2a5c4e9c2d0bc7df5493b5b74345992aa9dfa:/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..70eb88b00 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[4.2] def self.up add_index :diary_comments, [:user_id, :created_at], :name => "diary_comment_user_id_created_at_index" end