Join GitHub today
knex 0.8.0+ migration functions hang if not returning a promise #833
When porting our application to use
Previously when running a
This behaviour has been changed and now not returning a promise like that effectively leaves that migration step hanging indefinitely.
I can understand why the change has been made - you have two opposite use-cases:
Just wanted to confirm that the change was indeed intentional.
I got confused because example code generated by the
I doubt this was intentional. I would definitely advise not using empty migrator functions. In a future version of the migration API, an