Add rails version number to migrations
[rails.git] / db / migrate / 038_add_message_sender_index.rb
index 723ef7814731daadb08b3635dd5489b7e622fb83..0df1457116c751d79e4a8410a5b15499b1155ce8 100644 (file)
@@ -1,4 +1,4 @@
-class AddMessageSenderIndex < ActiveRecord::Migration
+class AddMessageSenderIndex < ActiveRecord::Migration[5.0]
   def self.up
     add_index :messages, [:from_user_id], :name => "messages_from_user_id_idx"
   end