]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/038_add_message_sender_index.rb
Ignore traces which have not been inserted yet when calculating
[rails.git] / db / migrate / 038_add_message_sender_index.rb
index 2b9b134cd53ee74989c41a5077ff1d372d6c2de0..0fb84bf94565f8b29c17bfa043b82e6d1cd9afaa 100644 (file)
@@ -4,6 +4,6 @@ class AddMessageSenderIndex < ActiveRecord::Migration
   end
 
   def self.down
   end
 
   def self.down
-    drop_index :messages, :name=> "messages_from_user_id_idx"
+    remove_index :messages, :name=> "messages_from_user_id_idx"
   end
 end
   end
 end