Permalink
Browse files

Fix a migration class name

  • Loading branch information...
1 parent dc3d13f commit 4a8ffaab44db1345e82232d8f2b3c93ddcd72265 Katsuya Noguchi committed Aug 9, 2012
@@ -14,7 +14,7 @@
# limitations under the License.
##
-class ChangeReputationMessagesIndexUnique < ActiveRecord::Migration
+class ChangeReputationMessagesIndexToUnique < ActiveRecord::Migration
def self.up
remove_index :rs_reputation_messages, :name => "index_rs_reputation_messages_on_receiver_id_and_sender"
add_index :rs_reputation_messages, [:receiver_id, :sender_id, :sender_type], :name => "index_rs_reputation_messages_on_receiver_id_and_sender", :unique => true

0 comments on commit 4a8ffaa

Please sign in to comment.