]> source.dussan.org Git - redmine.git/commitdiff
Added missing remove_index in AddUniqueIndexOnMembers down migration. #7212
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Sat, 1 Jan 2011 23:08:49 +0000 (23:08 +0000)
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Sat, 1 Jan 2011 23:08:49 +0000 (23:08 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4610 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/20101104182107_add_unique_index_on_members.rb

index ff72970847de9e7522e7fb2fd72c0f93257792b8..ac51313b138e3a129a0835fa12f6923f1b84f94d 100644 (file)
@@ -17,5 +17,6 @@ class AddUniqueIndexOnMembers < ActiveRecord::Migration
   end
 
   def self.down
+    remove_index :members, [:user_id, :project_id]
   end
 end