X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/72402ebc3e6a75748e208758017f5aa95c9ff680..6e3d183c40a6b5c0d01352531e00d577e314c98c:/db/migrate/038_add_message_sender_index.rb diff --git a/db/migrate/038_add_message_sender_index.rb b/db/migrate/038_add_message_sender_index.rb index 2b9b134cd..723ef7814 100644 --- a/db/migrate/038_add_message_sender_index.rb +++ b/db/migrate/038_add_message_sender_index.rb @@ -1,9 +1,9 @@ class AddMessageSenderIndex < ActiveRecord::Migration def self.up - add_index :messages, [:from_user_id], :name=> "messages_from_user_id_idx" + add_index :messages, [:from_user_id], :name => "messages_from_user_id_idx" end def self.down - drop_index :messages, :name=> "messages_from_user_id_idx" + remove_index :messages, :name => "messages_from_user_id_idx" end end