knex-data
v0.1.3
Published
Small CLI utility that allows you to create and run data migrations using the knex query builder.
Downloads
23
Readme
Knex Data
Small CLI utility that allows you to create and run data migrations using the knex query builder.
Install
npm i --save-dev knex-dataor
yarn add --dev knex-dataCreating Data Migrations
npx knex-data createThis creates a prompt to create a new migration
Running Data Migrations
npx knex-data runThis gives you a list of all of the data migrations you have in your project. You can start typing to autocomplete through the list.
Help
See npx knex-data --help for more details.
