mongodb-migrations icon indicating copy to clipboard operation
mongodb-migrations copied to clipboard

Run mongodb migrations using es6

Open KieronWiltshire opened this issue 7 years ago • 1 comments

I'd love for the ability to import a config file written in es6. Anyway we can do something like:

./node_modules/.bin/mm --config=./src/config/database.js --compilers js:babel-core/register

It would also be neat if we could specify in the config file what type of migration presets, you already have the coffee script in there, maybe add an es6 equivalent too?

KieronWiltshire avatar Dec 02 '18 17:12 KieronWiltshire

https://github.com/emirotin/mongodb-migrations/issues/65

KieronWiltshire avatar Jan 07 '19 23:01 KieronWiltshire