Permalink
Browse files

fix indexes

  • Loading branch information...
1 parent 69de557 commit 01cdc6640e0ea7fe52b0ebb65627bc0947fb0cd9 @benwyrosdick benwyrosdick committed Apr 29, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/heroku/command/mongo.rb
@@ -41,9 +41,7 @@ def transfer(from, to)
dest_index_col = dest.collection('system.indexes')
origin_index_col = origin.collection('system.indexes')
origin_index_col.find().each do |index|
- if index['_id']
- dest_index_col.insert index
- end
+ dest_index_col.insert index
end
display " done"

0 comments on commit 01cdc66

Please sign in to comment.