X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..ddac660f3b7cc09a7718f20d1b857b0794d5a4ef:/db/migrate/038_add_message_sender_index.rb?ds=inline diff --git a/db/migrate/038_add_message_sender_index.rb b/db/migrate/038_add_message_sender_index.rb index 723ef7814..b862b1cc4 100644 --- a/db/migrate/038_add_message_sender_index.rb +++ b/db/migrate/038_add_message_sender_index.rb @@ -1,4 +1,4 @@ -class AddMessageSenderIndex < ActiveRecord::Migration +class AddMessageSenderIndex < ActiveRecord::Migration[4.2] def self.up add_index :messages, [:from_user_id], :name => "messages_from_user_id_idx" end