These are chat archives for db-migrate/node-db-migrate

Apr 2016
Tobias Gurtzick
Apr 12 2016 07:57
@wallyuva It is possible, but not natively supported. You can load instead of a json file a js file. This js file gets executed and you need to export the final json object, you can put whatever logic you want into this js file and this means also you could put a yaml parser in it and export the resulting final json object matching the db-migrate requirements. If you're using db-migrate programatically you also have other options for the latter option see this PR db-migrate/node-db-migrate#332 and notice you need to use the 0.10-beta version.