When you run the example command in the docs,
mix mongo.gen.migration add_indexes
this is where it creates the migration
* creating deps/mongodb_driver/priv/mongo/migrations
* creating deps/mongodb_driver/priv/mongo/migrations/20260727173249_add_indexes.exs
as you can see, the migrations are being created in the deps folder, where the mongo.migrate does not look for and by default
no code from the project lives, only dependecies.
When you run the example command in the docs,
this is where it creates the migration
as you can see, the migrations are being created in the
depsfolder, where the mongo.migrate does not look for and by defaultno code from the project lives, only dependecies.