I was wondering if there is really a need for knexfile - you can specify all the connection options via de cli parameters.
Also if we create a knexfile - it should be prefixed with connection name as there can be multiple connections. So for the db
connection it should become something like db_knexfile.js
and migrations folder padded also with the connection name as sub folder like:
knex/db/migrations
and knex/db/seeds