I'm trying to add a default collation to my mongodb collections. It's simple to create a new collection with a collation:
db.createCollection(name, {collation:{locale:"en",strength:1}})
Unfortunately I looked through the docs and didn't see any db.updateCollection
function. How am I supposed to add a collation without destroying and recreating all my documents in a new collection?