I might be completely off here; but I'm scratching my head concluding that there's something wrong in the library here.
Using following knexfile does not work for me, prompting Error: There is no pool defined on the current client when running any cli knex command, e.g. knex migrate:latest, or knex seed:run:
Maybe I'm doing something stupid that I'm not realising but to me, the docs clearly indicates support for connection urls having following example in the docs:
I might be completely off here; but I'm scratching my head concluding that there's something wrong in the library here.
Using following knexfile does not work for me, prompting
Error: There is no pool defined on the current client
when running any cli knex command, e.g.knex migrate:latest
, orknex seed:run
:However, the following works as expected:
I haven't had time to investigate this yet.
Tried with knex@0.9.0, and the patched version at git+https://github.com/myndzi/knex#double-release by myndzi.
Maybe I'm doing something stupid that I'm not realising but to me, the docs clearly indicates support for connection urls having following example in the docs:
The text was updated successfully, but these errors were encountered: