]> git.openstreetmap.org Git - rails.git/commitdiff
Fixed migration - rails uses remove_index not drop_index.
authorTom Hughes <tom@compton.nu>
Mon, 3 Aug 2009 23:55:51 +0000 (23:55 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 3 Aug 2009 23:55:51 +0000 (23:55 +0000)
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
-    drop_index :messages, :name=> "messages_from_user_id_idx"
+    remove_index :messages, :name=> "messages_from_user_id_idx"
   end
 end