const mconfig = {
config: {
dev: {
driver: 'mysql',
host: '', db: '', ....,
typeCast: (field, next) => {} // this is getting removed or ignored
},
'sql-file': true
},
env: 'dev'
}
Migrate.getInstance(true, mConfig, callback);
I tried to find where or why but couldn't find it
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.