knex-migrate icon indicating copy to clipboard operation
knex-migrate copied to clipboard

Use knex defined stub if it exists

Open dhensby opened this issue 6 years ago • 0 comments

Knex allows you define a migration stub in the knex config. At the moment this is ignored by knex-migrate which means that setting up a stub in knex migrations won't affect any newly generated migrations when using knex-migrate.

It would be good if it could use the migration stubs in the following order:

  1. Stub passed by flag
  2. Stub defined in knex config
  3. Default stub

dhensby avatar Sep 11 '18 16:09 dhensby