BeanieODM / beanie

Asynchronous Python ODM for MongoDB
http://beanie-odm.dev/
Apache License 2.0
1.91k stars 201 forks source link

[BUG] (docs) migrations *have* to specify a `-db` argument, even if it's included in the db string? #851

Open ldorigo opened 5 months ago

ldorigo commented 5 months ago

The docs at https://beanie-odm.dev/tutorial/migrations/ show a few different invocations for the migrate command. In some the db name is included in the url string only, in others it's passed explicitly to the -db argument - after a bunch of debugging, it seems like only passing it in the uri string doesn't work, the docs should reflect this fact.

roman-right commented 5 months ago

Good catch! Thank you