knex-migrate
knex-migrate copied to clipboard
Use knex defined stub if it exists
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:
- Stub passed by flag
- Stub defined in knex config
- Default stub