Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix indexes

  • Loading branch information...
commit 01cdc6640e0ea7fe52b0ebb65627bc0947fb0cd9 1 parent 69de557
@benwyrosdick benwyrosdick authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/heroku/command/mongo.rb
View
4 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"
Please sign in to comment.
Something went wrong with that request. Please try again.