From 60303ee06b6dbb0ae66bd6e06b833f07d65d5ff9 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 3 Aug 2009 23:55:51 +0000 Subject: [PATCH] Fixed migration - rails uses remove_index not drop_index. --- db/migrate/038_add_message_sender_index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/038_add_message_sender_index.rb b/db/migrate/038_add_message_sender_index.rb index 2b9b134cd..0fb84bf94 100644 --- a/db/migrate/038_add_message_sender_index.rb +++ b/db/migrate/038_add_message_sender_index.rb @@ -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 -- 2.39.5