knex
knex copied to clipboard
Conditional Migration in a database
Environment
Knex version: 2.0.0 Database + version: mysql:8.0.21 OS: Ubuntu:bionic
@ smorey2.
Feature discussion / request
How can we set condition on any migration file. If condition is true then all migrations will run else only specific migration work
http://knexjs.org/guide/#withuserparams exists for this purpose.