X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..f1905095ed55b2f89021849d4355d7c23d0b8c6b:/db/migrate/050_add_user_index_to_diary_comments.rb?ds=sidebyside 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 48e0593ba..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[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