Closed skarm61 closed 5 years ago
Since you]re using knex here, look at this component. There is most probably some open event listeners created by knex, so this is not a db-migrate issue. Try removing and work with db.runSql instead and it most probably starts working.
Feel free to reply shouldn't removing knex solve it, then I will reopen this, but for now I am pretty sure knex is the problem, try removing it once and then figure out how you can close the knex connections.
db-migrate 0.11.5 db-migrate-pg 0.5.0 knex 0.16.5 express 4.16.4
When run migration like
Get in console:
and it hangs on. All code inside migration executes well and does what it should. It hangs on even if there any other migrations after this one.
I have second migration, which works well if I run it without first one(which doesn't work well), but when I run both migrations - they do all what they should do, but in the end it hangs on after Done.