summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2011-01-01 23:08:49 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2011-01-01 23:08:49 +0000
commitd29052f682cc1583888fe13095d0af0e2fc81a0f (patch)
tree0abe3d62e31d528d40e5e9745db158ca38fa0ffc /db
parent35c35a193cd705134cf20fdf1950a8155c33d0f8 (diff)
downloadredmine-d29052f682cc1583888fe13095d0af0e2fc81a0f.tar.gz
redmine-d29052f682cc1583888fe13095d0af0e2fc81a0f.zip
Added missing remove_index in AddUniqueIndexOnMembers down migration. #7212
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4610 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20101104182107_add_unique_index_on_members.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20101104182107_add_unique_index_on_members.rb b/db/migrate/20101104182107_add_unique_index_on_members.rb
index ff7297084..ac51313b1 100644
--- a/db/migrate/20101104182107_add_unique_index_on_members.rb
+++ b/db/migrate/20101104182107_add_unique_index_on_members.rb
@@ -17,5 +17,6 @@ class AddUniqueIndexOnMembers < ActiveRecord::Migration
end
def self.down
+ remove_index :members, [:user_id, :project_id]
end
end