Is your feature request related to a problem? Please describe.
Migration for MongoDB use db.runCommand now.
but some commands can't be run by db.runCommand
for example, sh.enableSharding(database)
Describe the solution you'd like
May be, we can support .js file as migration?
And it can be reuse in mongo docker image with /docker-entrypoint-initdb.d/*.js
Is your feature request related to a problem? Please describe. Migration for MongoDB use
db.runCommand
now. but some commands can't be run bydb.runCommand
for example,sh.enableSharding(database)
Describe the solution you'd like May be, we can support .js file as migration? And it can be reuse in
mongo
docker image with/docker-entrypoint-initdb.d/*.js
Describe alternatives you've considered No
Additional context